GithubHelp home page GithubHelp logo

ladyisak / gall Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sequitur/gall

0.0 2.0 0.0 62 KB

A command-line tool for building web playable versions of Ink stories

License: MIT License

JavaScript 72.95% CSS 23.52% HTML 3.53%

gall's Introduction

Gall

Gall is a simple command-line tool for assembling Ink stories with blotter.

Installation

Make sure you have an up-to-date version of Node and npm installed in your system, then install Gall from github:

$ npm install -g gall

Usage

In an empty directory, create a Gall project:

$ gall new

This will create a sources/ directory there, containing the following files:

  • defines.json: Definitions that can be inserted into the template, including the story title.
  • style.less: A Less file that acts as the stylesheet for the project.
  • template.pug: A Pug template that acts as the template for the project.
  • script.js: A javascript script that is run after the main Blotter script, which can contain any custom functionality you want to hook into inkjs before starting up the main UI loop through Blotter.

Gall will populate those files with working ones from a scaffold, which you can customize as you like. You will also have to provide a json file compiled from your Ink story through Inkle's inklecate compiler, and place it in sources/story.ink.json.

With everything in place, gall build will build your story and output it as out.html. Stories generated by Gall are self-contained html files, for portability and performance; all of the css (automatically generated by Less), js (imported from the Blotter project build file), and Ink data are inlined into the file.

gall's People

Contributors

sequitur avatar ladyisidore avatar

Watchers

James Cloos avatar  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.