Giter VIP home page Giter VIP logo

twinejs's Introduction

twinejs

by Chris Klimas, Leon Arnott, Daithi O Crualaoich, Ingrid Cheung, Thomas Michael Edwards, Micah Fitch, Juhana Leinonen, Michael Savich, and Ross Smith

SYNOPSIS

This is a port of Twine to a browser and Electron app. See twinery.org for more info.

The story formats in minified format under story-formats/ exist in separate repositories:

INSTALL

Run npm install at the top level of the directory to install all goodies.

Working with the documentation requires installing mdbook, which is not a Node-based project. You can either install it directly from the project web site or use your operating system's package manager.

BUILDING

Run npm start to begin serving a development version of Twine locally. This server will automatically update with changes you make.

Run npm run start:electron to run a development version of the Electron app. Running this can damage files in your Twine storied folder. Take a backup copy of this folder before proceeding. Most of the app will automatically update as you work, but if you want the app to read story files initially again, you will need to restart the process.

To create a release, run npm run build. Finished files will be found under dist/. In order to build Windows apps on macOS or Linux, you will need to have Wine and makensis installed. A file named 2.json is created under dist/ which contains information relevant to the autoupdater process, and is currently posted to https://twinery.org/latestversion/2.json.

The build process looks for these environment variables when notarizing a macOS build:

  • APPLE_APP_ID: The app ID to use. The convention is country.company.appname.
  • APPLE_ID: User name of the Apple account to use for notarization.
  • APPLE_ID_PASSWORD: App-specific password for the Apple account to use for notarization.

If any of these environment variables are not set, the build process will skip notarizing. This means users will need to right-click the application and open it manually.

You must have the full Xcode app installed to notarize the app, not just the Xcode command line tools.

npm test will test the source code respectively.

npm run clean will delete existing files in electron-build/ and dist/.

twinejs's People

Contributors

klembot avatar cpb8010 avatar webbedspace avatar tmedwards avatar dependabot[bot] avatar bishiboosh avatar jmallach avatar laoshubaby avatar evolutioneer avatar jimb16 avatar blankedverse avatar ztiromoritz avatar technix avatar hogart avatar michaelsavich avatar molingyu avatar albuquezi avatar kwtorgard avatar utkumaden avatar sinwes avatar hiev avatar juhana avatar marwahaha avatar ofosos avatar katafrakt avatar sjoerdhekking avatar kernogfr avatar crackevil avatar azure-pipelines[bot] avatar zachac avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.