
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Introduce Inklestudios Writer, a non free-as-in-speech software.
It is still free-as-in-beer, pretty and simple interactive stories editor and is able to export to JSON :
Can I rescue my data?
Yes. You can capture the raw .json file that stores your story, but to use it elsewhere you'll need to write code to parse and run it. (The format is pretty straight-forward, however.)
In order to experiment with the subject, I needed a tool to use these JSON exports, so here's the module ad hoc.
inkle.start() and inkle.choose()// Load the lib
const libinkle = require('libinkle');
// Read a JSON export
const buf = fs.readFileSync('XXXX.json');
// Create a story runner
const inkle = new libinkle(buf.toString());
// Initiate the story whose state is recorded in the object
inkle.start();
// Retrieve the current text
var paragraphList = inkle.getText();
// Retrieve the current choices
var choicesList = inkle.getChoices();
// Choose a random solutio
inkle.chooseRandom();
As the Inklewriter team said, the format is pretty straight-forward.
Apart from metadata, the content is structured through a list of "stitches" which are nodes in a graph, if that concept makes sense for you.
In a more general way stitches are text paragraphs with links. They are either:
So the stitches are the partial atoms of the interactive story, which navigates from a stitch to another, etc.
Each stitch can be tagged. These tags can be later used as conditionals.
[ ] Error management is rather inexistant
[x] Flags and if conditions
[ ] Sections
[x] Images
All are very welcome. Don't hesitate to push me on my mail github_albancrommer.com if feeback is slow.
FAQs
A light library for inkle writer stories
We found that libinkle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.