Skip to content
/ dotify Public

⠙⠕⠞⠊⠋⠽ / convert bytes to braille and back again

Notifications You must be signed in to change notification settings

casey/dotify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotify

Convert bytes to braille and back again.

Have you ever looked at a bunch of bytes and thought, "Man, I really wish I could view these as braille cells"? Me neither! That's why I wrote dotify.

Your PRs to extend this useless utility are eagerly anticipated!

: cat src/main.rs | dotify > braille.txt
: cat braille.txt
⡥⡸⡴⡥⡲⡮⠠⡣⡲⡡⡴⡥⠠⡣⡬⡡⡰⠻⠊⠊⡭⡯⡤⠠⡢⡲⡡⡩⡬⡬⡥⠻⠊⡭⡯⡤⠠⡢⡹⡴
⡥⡳⠻⠊⠊⡵⡳⡥⠠⡣⡬⡡⡰⠺⠺⡻⡁⡰⡰⠬⠠⡁⡲⡧⠬⠠⡁⡰⡰⡓⡥⡴⡴⡩⡮⡧⡳⡽⠻⠊
⡵⡳⡥⠠⡳⡴⡤⠺⠺⡩⡯⠻⠊⠊⡦⡮⠠⡭⡡⡩⡮⠨⠩⠠⠭⠾⠠⡩⡯⠺⠺⡒⡥⡳⡵⡬⡴⠼⠨⠩
⠾⠠⡻⠊⠠⠠⡬⡥⡴⠠⡭⡡⡴⡣⡨⡥⡳⠠⠽⠠⡁⡰⡰⠺⠺⡮⡥⡷⠨⡥⡮⡶⠡⠨⠢⡃⡁⡒⡇⡏
⡟⡐⡋⡇⡟⡎⡁⡍⡅⠢⠩⠩⠊⠠⠠⠠⠠⠮⡶⡥⡲⡳⡩⡯⡮⠨⡣⡯⡮⡣⡡⡴⠡⠨⠢⡶⠢⠬⠠⡥
⡮⡶⠡⠨⠢⡃⡁⡒⡇⡏⡟⡐⡋⡇⡟⡖⡅⡒⡓⡉⡏⡎⠢⠩⠩⠩⠊⠠⠠⠠⠠⠮⡡⡵⡴⡨⡯⡲⠨⡥
⡮⡶⠡⠨⠢⡃⡁⡒⡇⡏⡟⡐⡋⡇⡟⡁⡕⡔⡈⡏⡒⡓⠢⠩⠩⠊⠠⠠⠠⠠⠮⡡⡢⡯⡵⡴⠨⡣⡯⡮
⡣⡡⡴⠡⠨⡥⡮⡶⠡⠨⠢⡃⡁⡒⡇⡏⡟⡐⡋⡇⡟⡄⡅⡓⡃⡒⡉⡐⡔⡉⡏⡎⠢⠩⠬⠠⠢⠠⠭⠠
⠢⠬⠠⡥⡮⡶⠡⠨⠢⡃⡁⡒⡇⡏⡟⡐⡋⡇⡟⡈⡏⡍⡅⡐⡁⡇⡅⠢⠩⠩⠩⠊⠠⠠⠠⠠⠮⡨⡥⡬
⡰⡟⡭⡥⡳⡳⡡⡧⡥⠨⠢⡐⡲⡩⡮⡴⠠⡨⡥⡬⡰⠠⡩⡮⡦⡯⡲⡭⡡⡴⡩⡯⡮⠢⠩⠊⠠⠠⠠⠠
⠮⡶⡥⡲⡳⡩⡯⡮⡟⡭⡥⡳⡳⡡⡧⡥⠨⠢⡐⡲⡩⡮⡴⠠⡶⡥⡲⡳⡩⡯⡮⠠⡩⡮⡦⡯⡲⡭⡡⡴
⡩⡯⡮⠢⠩⠊⠠⠠⠠⠠⠮⡳⡥⡴⡴⡩⡮⡧⠨⡁⡰⡰⡓⡥⡴⡴⡩⡮⡧⡳⠺⠺⡃⡯⡬⡯⡲⡥⡤⡈
⡥⡬⡰⠩⠊⠠⠠⠠⠠⠮⡡⡲⡧⠨⡁⡲⡧⠺⠺⡷⡩⡴⡨⡟⡮⡡⡭⡥⠨⠢⡂⡙⡔⡅⡓⠢⠩⠊⠠⠠
⠠⠠⠠⠠⠠⠠⠠⠮⡬⡯⡮⡧⠨⠢⡢⡹⡴⡥⡳⠢⠩⠊⠠⠠⠠⠠⠠⠠⠠⠠⠠⠮⡨⡥⡬⡰⠨⠢⡃⡯
⡮⡶⡥⡲⡴⠠⡢⡲⡡⡩⡬⡬⡥⠠⡴⡯⠠⡢⡹⡴⡥⡳⠢⠩⠩⠊⠠⠠⠠⠠⠮⡧⡥⡴⡟⡭⡡⡴⡣⡨
⡥⡳⠨⠩⠻⠊⠊⠠⠠⡬⡥⡴⠠⡢⡹⡴⡥⡳⠠⠽⠠⡭⡡⡴⡣⡨⡥⡳⠮⡩⡳⡟⡰⡲⡥⡳⡥⡮⡴⠨
⠢⡂⡙⡔⡅⡓⠢⠩⠻⠊⠊⠠⠠⡬⡥⡴⠠⡳⡴⡤⡩⡮⠠⠽⠠⡩⡯⠺⠺⡳⡴⡤⡩⡮⠨⠩⠻⠊⠠⠠
⡬⡥⡴⠠⡳⡴⡤⡯⡵⡴⠠⠽⠠⡩⡯⠺⠺⡳⡴⡤⡯⡵⡴⠨⠩⠻⠊⠠⠠⡬⡥⡴⠠⡭⡵⡴⠠⡲⡥⡡
⡤⡥⡲⠠⠽⠠⡳⡴⡤⡩⡮⠮⡬⡯⡣⡫⠨⠩⠻⠊⠠⠠⡬⡥⡴⠠⡭⡵⡴⠠⡷⡲⡩⡴⡥⡲⠠⠽⠠⡳
⡴⡤⡯⡵⡴⠮⡬⡯⡣⡫⠨⠩⠻⠊⠊⠠⠠⡬⡥⡴⠠⡣⡯⡮⡶⡥⡲⡴⠠⠽⠠⡩⡦⠠⡢⡹⡴⡥⡳⠠
⡻⠊⠠⠠⠠⠠⡢⡹⡴⡥⡳⠺⠺⡣⡯⡮⡶⡥⡲⡴⠊⠠⠠⡽⠠⡥⡬⡳⡥⠠⡻⠊⠠⠠⠠⠠⡢⡲⡡⡩
⡬⡬⡥⠺⠺⡣⡯⡮⡶⡥⡲⡴⠊⠠⠠⡽⠻⠊⠊⠠⠠⡣⡯⡮⡶⡥⡲⡴⠨⠦⡭⡵⡴⠠⡲⡥⡡⡤⡥⡲
⠬⠠⠦⡭⡵⡴⠠⡷⡲⡩⡴⡥⡲⠩⠊⡽⠊
: cat braille.txt | dotify --bytes | head
extern crate clap;

mod braille;
mod bytes;

use clap::{App, Arg, AppSettings};
use std::io;

fn main() -> io::Result<()> {
  let matches = App::new(env!("CARGO_PKG_NAME"))

About

⠙⠕⠞⠊⠋⠽ / convert bytes to braille and back again

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages