A docker implementation for Tweego, the command line compiler for Twine/Twee story formats.
1.2K
A docker implementation for Tweego, the command line compiler for Twine/Twee story formats, written in Go.
These instructions will cover usage information and for the docker container
In order to run this container you'll need docker installed.
Use docker compose if you can, there are some known issues with commandline run not attaching the volumes properly.
version: "3.9"
services:
tweego:
image: tweedevs/tweego-docker
environment:
- TWEEGO_OUTFILE=name_of_the_output.html
#- TWEEGO_WATCH=will_trigger_if_set_to_anything
volumes:
- {path_to_your_storyformats}:/storyformats
- {path_to_your_project_src}:/input
- {path_to_where_you_want_the_file}:/output
List the different parameters available to your container
docker run tweedevs/tweego-docker:v1.0.0 parameters
One example per permutation
docker run tweedevs/tweego-docker:v1.0.0 \
-e TWEEGO_OUTFILE=your_file_name.html \
-v <your_path_to_story_formats>:/storyformats \
-v <your_path_to_the_twee_files>:/input \
-v <your_path_to_the_where_you_want_the_result>:/output
Show how to get a shell started in your container too
docker run tweedevs/tweego-docker:v1.0.0 sh
TWEEGO_OUTFILE - The you want applied to tweegos output file. Default is index.htmlTWEEGO_WATCH - A way to turn on tweego watch functionality. Default is not set, when set to anything it will trigger./storyformats - Story format location, to learn more the wiki or Twine Lab, format-catalog is a project that works on cataloguing them all./root/tweego - tweego executable location.TODO: Honestly don't know what needs to go here.
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
See also the list of contributors who participated in this project.
This project is licensed under the Unlicense - see the LICENSE.md file for details.
Content type
Image
Digest
Size
4.8 MB
Last updated
almost 6 years ago
docker pull tweedevs/tweego-docker