Skip to content
1r0nxPublic

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

morrse

morrse is a command line tool to encode text into morse and decode morse code


🚀 Features

  • enc
  • dec
  • The separator between letters are spaces
  • The separator between words while decoding morse is "/" by default but can be "," or ";"

🧱 Requirements

You need to have pyinstaller to compile the source code into binary. You can install it with:

pip3 install pyinstaller

🔧 Installation

Clone the repository and create a binary:

git clone https://github.com/1r0nx/morrse
cd morrse
chmod +x build.sh
./build.sh
sudo cp dist/morrse /usr/bin

You can now use morrse as a simple linux commands

Or run it as a script:

git clone https://github.com/1r0nx/morrse
cd morrse
chmod +x morrse.py
./morrse.py

⚙️ Example

❯ morrse enc -s 'this is morse code'
- .... .. ... / .. ... / -- --- .-. ... . / -.-. --- -.. .
❯ morrse dec -s '- .... .. ... / .. ... / -- --- .-. ... . / -.-. --- -.. .'
THIS IS MORSE CODE
❯ morrse dec -s '- .... .. ... , .. ... , -- --- .-. ... . , -.-. --- -.. .'
THIS IS MORSE CODE
❯ morrse dec -s '- .... .. ... ; .. ... ; -- --- .-. ... . ; -.-. --- -.. .'
THIS IS MORSE CODE

📜 License

MIT License


🙋 Contributing

Pull Requests and suggestions are welcome. Please follow standard coding practices and document your changes.

About

No description or website provided.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages