https://github.com/thesephist/inker
Web API to run Ink code on any device 💻
https://github.com/thesephist/inker
ink interpreter programming-language repl sandbox
Last synced: 28 days ago
JSON representation
Web API to run Ink code on any device 💻
- Host: GitHub
- URL: https://github.com/thesephist/inker
- Owner: thesephist
- License: mit
- Created: 2019-06-27T10:55:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-03-28T02:09:33.000Z (almost 2 years ago)
- Last Synced: 2025-01-19T07:24:19.121Z (about 1 year ago)
- Topics: ink, interpreter, programming-language, repl, sandbox
- Language: JavaScript
- Homepage: https://linus.zone/eval
- Size: 15.8 MB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inker
Web API to execute and experiment with the [Ink programming language](https://github.com/thesephist/ink).
## Development
Inker is a standard Node.js server. You can start it with `yarn start`.
To work fully, you'll need an Ink interpreter. Inker ships with one at `/bin/ink` compiled for Linux, and running `yarn start` will assume you want to use that binary. If you need to develop on another platform or want to use a different version of Ink, you'll need to build your own binary, which you can learn how to do by going to the Ink repository linked above.
Once you have your ink binary, pass the path to your executable as the `INKPATH` environment variable when you start up Inker, and the eval service will use that instead.
If you have `ink` installed on your system already, running `yarn start:dev` will start the server with `INKPATH` set to `ink` on your `PATH`.