Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ento/tw5-gemini-plugin
Gemini server and other utilities for TiddlyWiki5
https://github.com/ento/tw5-gemini-plugin
gemini-protocol tiddlywiki-plugin tiddlywiki5
Last synced: 28 days ago
JSON representation
Gemini server and other utilities for TiddlyWiki5
- Host: GitHub
- URL: https://github.com/ento/tw5-gemini-plugin
- Owner: ento
- Created: 2020-08-04T09:33:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T01:08:37.000Z (about 1 year ago)
- Last Synced: 2024-04-15T14:13:33.267Z (7 months ago)
- Topics: gemini-protocol, tiddlywiki-plugin, tiddlywiki5
- Language: JavaScript
- Homepage:
- Size: 966 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This plugin includes:
- Node.js command for spinning up a Gemini server that serves tiddlers
- Parser module for viewing text/gemini Tiddlers
Usage
--gemini-listen
command
tiddlywiki path/to/wiki --gemini-listen [param=value]
The command can be used in conjunction with the --listen
command.
Parameters:
tls-key=required/path/to.key
tls-cert=required/path/to.crt
port=1965
host=127.0.0.1
-
root-tiddler=HelloGemini
: Specify the title of the Tiddler to serve at/
-
debug-level=none
: Set to any other string to enable request logging. -
path-prefix=
: Serve the wiki at the specified path.
Config:
-
$:/plugins/ento/gemini/config/filter
: (default: none) Only serve Tiddlers that match this filter.
text/gemini
parser
Set the type of tiddler to text/gemini
.
See "5 The text/gemini media type" of the spec for available markups. Currently v0.14.2 of the spec is implemented.
Installation
If you don't need Node.js features, drag this link to your TiddlyWiki:
Otherwise, install the plugin through npm and point to it with TIDDLYWIKI_PLUGIN_PATH
.
- Run
npm install git+https://github.com/ento/tw5-gemini-plugin.git
- Edit
tiddlywiki.info
file of your wiki and addtw5-gemini-plugin
toplugins
- Run the server with environment variables pointing at the plugin installation path:
export TIDDLYWIKI_PLUGIN_PATH=$(npm root)/tw5-gemini-plugin/src/plugins
export NODE_PATH=$(npm root)/tw5-gemini-plugin/node_modules
tiddlywiki ...