0.13.2 • Published 1 year ago

tigyog-cli v0.13.2

Weekly downloads
-
License
-
Repository
-
Last release
1 year ago

TigYog.app CLI (BETA!)

For context, see TigYog.app and the TigYog docs. For an example course being written with the TigYog CLI, see Eigenwhat?.

Installation and usage

$ npm install -g tigyog-cli  # Requires Node.js 16.11+
$ tigyog login my_session_token  # Get this from https://tigyog.app/account
$ mkdir my_course; cd my_course  # Create new directory for your course
$ tigyog init  # Initialize with starter course content
$ tigyog fmt  # Format your course, e.g. add identifiers
$ tigyog publish  # Push your course to TigYog.app and publish it

Publishing from git

You might want to publish your course every time you push to a git repository. If you're using GitHub, you can use GitHub Actions for this:

  1. On your GitHub repository, add a secret.
  2. Name the secret TY_SESSION and copy the value from your TigYog account page.
  3. Add a workflow file like this to your repository.

Configuration

This tool uses conf to store its config, including your session token. You can find this config at:

  • MacOS: ~/Library/Preferences/tigyog-nodejs/config.json
  • Windows: C:\Users\USERNAME\AppData\Roaming\tigyog-nodejs\Config\config.json

Planned features

If you need any of these, or have any other problems, email Jim or file a GitHub issue.

  • All TigYog block types. Still to do:

    • Images: dark mode strategy
    • Responses not immediately following buttons
    • Callout
  • API keys. Currently authenticates using session tokens taken from the browser. These expire after around 6 months.

0.13.2

1 year ago

0.13.1

1 year ago

0.13.0

1 year ago

0.12.0

1 year ago

0.11.0

1 year ago

0.10.0

1 year ago

0.9.0

1 year ago

0.8.0

1 year ago

0.7.0

1 year ago

0.6.1

1 year ago

0.6.0

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.3

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.0

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago