Skip to content

goldyv2/uwu-codec

Repository files navigation

😳 uwu-codec (.uwu/.owo)

Imagine one SINGLE file extension FOR EVERY PIECE OF MEDIA but ENCODED IN UWU BYTES!!!!!!

thumbnail

^ Cick to watch my youtube video on this! ^

Note

Still a Work in progress, expect many many bugs. (feel free to contribute and report bugs)

Warning

This iteration of uwu-codec currently only supports opening PNG images. I changed ALOT of the codebase after recording the first youtube video, so you cannot open videos atm despite the video; you have to convert them to an uwu file then convert it back if you would like to play a video.

Usage 🖱️

uwu-codec [options] {target_file}

Here's an example on opening an uwu/owo file:

uwu-codec cat.owo

This is how you may convert your files into an uwu/owo file:

uwu-codec -c cat.png cat.uwu

Want to convert just strings of text? Here's how:

uwu-codec -rs "Hello"

Then you can convert it back to a string like so:

uwu-codec -ru "(〃 ̄ω ̄〃)ゞW,ôwôOwOôwô,ôwôOwOUwU,ôwôOwOUwU,ôwôôwôôwô"

Check out the help command for more: uwu-codec --help

The codec also supports double-clicking on files!

uwu-codec-preview.mp4

To set it up, just set .uwu or .owo files on your desktop environment or XDG to open with the uwu-codec binary located in .cargo/bin on Windows and at /usr/bin/ on Linux.

Installation 🛠️

I don't plan on releasing to any package managers yet, so for now you have one option, install from source (like a real man).

Warning

On Linux if the uwu-codec command doesn't work you may need to add the ~/.cargo/bin directory to your path if you . You can do so by adding export PATH=$PATH:~/.cargo/bin to your .bashrc or an equivalent.

Install from source 🏗️

Prerequisites: git, rust-lang, make (recommended)

git clone https://github.com/THEGOLDENPRO/uwu-codec
cd uwu-codec

Now if you have 'make' you may just run these commands and you're done:

make # build

# Linux
sudo make install # install to bin

# Windows
make install # on windows it will install to '.cargo\bin\'.

If you don't have 'make' for some reason go and copy the code from the makefile yourself.

About

🦀 😳 Encode your life into uwu bytes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published