#ink #story #stories #convert #format #url #instory

bin+lib inkstory

Convert interactive stories between Instory and Ink formats

3 unstable releases

0.2.0 May 29, 2021
0.1.1 May 14, 2021
0.1.0 May 14, 2021

#12 in #stories

MIT/Apache

15KB
400 lines

Convert instory.su internal story format into Ink stories.

This crate provides a CLI that takes a story URL, story ID, or an exported .json file, and generates an equivalent Ink story.

Usage examples:

# With story URL
inkstory https://instory.su/story/12345 > story.ink

# With a URL that exports JSON
inkstory https://example.com/story.json > story.ink

# With a JSON file
inkstory ./story.json > story.ink

# With a story ID
inkstory 12345 > story.ink

Option --fix-rn replaces all occurences of the two letters "rn" with newlines.

Dependencies

~8–11MB
~181K SLoC