Code Monkey home page Code Monkey logo

cmorse's Introduction

The development is currently put on hold - only necessary patches will be applied. No new features will be added, unless I find a new potential project maintainer. If you'd like to become one, please contact me.

cmorse

The GPL License Travis CI

cmorse is a simple text to Morse code converter.

Cmorse on launchpad...

Screenshot
Screenshot of v1.1

Installing cmorse

  • Add PPA to your system - sudo add-apt-repository ppa:mrjjot/cmorse
  • Update software lists - sudo apt-get update
  • Install cmorse package - sudo apt-get install cmorse

Usage

cmorse [OPTIONS]

Supported command line options:

  • -a / --append - Append to file instead of overwriting
  • -d / --decrypt - Convert from Morse code to regular text
  • -h / --help - Display help message
  • -i / --input - Specify input file in next argument
  • -o / --output - Specify input file in next argument
  • -p / --prosginsdisabled - Disable automatic prosign insertion (like .-.- instead of new line)
  • -u / --uppercase - Output uppercase text, when decrypting
  • -v / --version - Display software version number

For example, cmorse -i example.txt -o example.morse will encode example.txt and store Morse code in example.morse. To reverse process use cmorse -d -i example.morse -o decrypted.txt.

When input file is not specified, cmorse will read stdin until EOF or EOT character occurs. Same applies to output files - when not specified, cmorse will write to stdout.

Building from source

  • Clone git repository - git clone https://github.com/Jacajack/cmorse.git && cd cmorse
  • Invoke makefile - make all
  • To install use sudo make install, and to uninstall - sudo make uninstall.

Developing cmorse with Docker

  • Clone git repository - git clone https://github.com/Jacajack/cmorse.git && cd cmorse
  • Build docker image - docker build -t cmorse .
  • Run cmorse binary using docker container based on the cmorse image - docker run -it cmorse cmorse

cmorse's People

Contributors

jacajack avatar jconard3 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

cmorse's Issues

Wide characters support

wchar_t type should be used instead of char in order to support non-english characters.
Most of changes are already present on languages branch.

Generate Audio From Morse Code

A feature I would like to see is the ability to translate a piece of text into morse code and a corresponding audio file. Could be as simple as generating a raw WAV file or if we wanted to get fancy, piping straight to default audio device.

Different Morse code format

It would be nice to have second Morse code format available, where words are separated with / instead of double space. It would lead to higher compatibility with other converters:

selection_024

I have two problem!

Hello! I am trying to implement the greek alphabet but I have two problems.

  1. For some reason I can't print anything more than what was already there.

  2. I added a new flag to specify the language of the given text but it is not working properly.

Any help? Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.