Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

jepler/anagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

94 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moved to codeberg

This project has moved to codeberg: https://codeberg.org/jepler/anagram

Build instructions:

make

Use instructions:

./ana terms...
man ./ana.1 ;# for help

Binary dictionaries

These start a bit faster than reading the system dictionary.

Build one with

./ana -D dict.bin -d /usr/share/dict/words

then use it with

./ana -D dict.bin terms...

Python use

$ python3
>>> import ana
>>> d = ana.from_binary("dict.bin")
>>> for row in d.run("hello world"):
...    print(row)

Web Browser Version (WASM/js)

  1. Compile with emscripten (tested with the version in debian bookworm):

    make ana.js
    
  2. Test it to your satisfaction using a local html server:

    python3 http.server &
    
  3. Commit it:

    make publish
    
  4. Push it to github:

    git push origin gh-pages
    

Live web version

https://jepler.grebedoc.dev/anagram/

About

anagram commandline tool, wasm browser tool, python/wcgi web app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published