https://github.com/potch/corsica-repl
The Corsica REPL
https://github.com/potch/corsica-repl
Last synced: 3 months ago
JSON representation
The Corsica REPL
- Host: GitHub
- URL: https://github.com/potch/corsica-repl
- Owner: potch
- Created: 2014-09-25T00:18:26.000Z (over 11 years ago)
- Default Branch: gh-pages
- Last Pushed: 2017-03-31T21:07:31.000Z (about 9 years ago)
- Last Synced: 2025-02-04T21:34:48.360Z (over 1 year ago)
- Language: HTML
- Homepage: http://potch.github.io/corsica-repl/
- Size: 12.7 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Corsica REPL
Useful for sending content to screens and remotely managing their configuration.
At the bottom, an input for entering commands, at the top, command history.
## Commands
Commands start with either a URL, or a command type (e.g. `admin`), followed by space-separated `key=value` pairs.
Commands can be targeted to a screen with the screen dropdown. The dropdown can be overridden by specifying `screen=[screen]` in the command.
## Usage
Open it locally (or use the [hosted version](http://potch.github.io/corsica-repl/))
### Setup
Connect to a Corsica instance:
> repl server [server]
Be sure to use the fully qualified URL of the server, including protocol. Server information is stored in localStorage, so you should only have to do this when you change servers.
If you refresh the page, the dropdown should be populated with a list of screens connected to the server.
### Administration
To rename a screen:
> admin type=rename name=[name]
To subscribe a screen to a content tag:
> admin type=subscribe tag=[tag]
To un-subscribe a screen from a content tag:
> admin type=unsubscribe tag=[tag]
To reload a remote Corsica client:
> admin type=reload