#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

#15 in #stories

Download history 10/week @ 2024-02-23 7/week @ 2024-03-01 39/week @ 2024-03-29 12/week @ 2024-04-05

51 downloads per month

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

~9.5MB
~203K SLoC