Skip to content

Interactive fiction NodeJS Express app with cheapglk backend, runs .ulx text adventures with POST and GET for I/O

License

Notifications You must be signed in to change notification settings

agentcox/glknode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glknode

Interactive fiction NodeJS Express app with cheapglk and glulxe backend, runs .ulx text adventures with POST and GET for I/O

Building

cd cheapglk
make
cd ../glulxe
make
cd ..
npm install

Running

node server.js

Communicating from a remote client

To get the last output:

curl -X GET http://localhost:8081

To send a command (ex. "look at stream"):

curl -X POST -H "Content-Type: application/json" -d '{"command":"look at stream"}' http://localhost:8081

You must GET after you POST in order to see the revised output from the GLULXE engine.

About

Interactive fiction NodeJS Express app with cheapglk backend, runs .ulx text adventures with POST and GET for I/O

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published