Twee2 to gemtext converter.
Go to file
Carly Ho 9c2e1146e0 update readme w/ usage + requirements 2024-03-20 13:18:08 -05:00
.gitignore Add initial files 2024-03-20 13:07:53 -05:00
README.md update readme w/ usage + requirements 2024-03-20 13:18:08 -05:00
gemitwee.php Add initial files 2024-03-20 13:07:53 -05:00

README.md

Gemitwee

Converts Twee2 markup (either written standalone or exported from Twine) to Gemtext files.

Note that this does not and cannot support: stylesheets, scripts, macros, variables, generally things that aren't text. The ideal candidate is a game that is completely operated via links. Most Gemini clients don't support images, so I suggest if you want them to convert them to ASCII art.

If you've used this, let me know via issues/a PR/sending me an email at smallbird@tilde.club and I'll make a list here of Gemitwee games!

The script is mirrored on Gemini at gemini://tilde.pink/~smallbird/tweetogemini.gmi

Usage

php gemitwee.php game_file.twee [output_dir]

If you don't supply an output directory, it'll just output files into the local folder.

Requirements

  • Some kind of command line
  • Probably a recent PHP version. I don't think this uses anything spicy but I can't guarantee it working on like PHP 4
  • That's it