You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Tait Hoyem c5ab05066f Add reamde 9 months ago
README.md Add reamde 9 months ago
to_clip.sh Initial commit 9 months ago
trans_quick.py Initial commit 9 months ago
translate.py Initial commit 9 months ago

README.md

braille_converter

This script has 3 parts. Both allow the conversion of text into braille manually through the command line.

trans-quick.py

This script takes one parameter as an argument. The argument should be the string that you want translated into braille.

$ python trans-quick.py 'Hello, world!'
⡓⠑⠇⠇⠕⠠⠀⠺⠕⠗⠇⠙⠮

translate.py

This script continuously asks for user input, then prints the braille translated text to stdout.

$ python translate.py 
To Braille: Hi
⡓⠊
To Braille: Hello world!
⡓⠑⠇⠇⠕⠀⠺⠕⠗⠇⠙⠮
To Braille: I am a newb!
⡊⠀⠁⠍⠀⠁⠀⠝⠑⠺⠃⠮

to_clip.sh

This script takes one argument, the text you want converted to braille. After conversion through trans-quick.py, it copies it to your clipboard.

TODO

  • Allow setting of braille table through environment variables or flags (ideally both)
  • Allow copying to clipboard of X11 desktops
  • Allow copying toclipboard of Windows/Mac OSes
  • Add a script that is interactive, and also copies to your clipboard