https://github.com/duologic/etherpad-libsonnet
Jsonnet library for Etherpad.
https://github.com/duologic/etherpad-libsonnet
jsonnet jsonnet-lib
Last synced: 7 months ago
JSON representation
Jsonnet library for Etherpad.
- Host: GitHub
- URL: https://github.com/duologic/etherpad-libsonnet
- Owner: Duologic
- Created: 2020-06-06T09:46:30.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-05-22T21:00:23.000Z (about 5 years ago)
- Last Synced: 2025-07-05T18:13:18.300Z (11 months ago)
- Topics: jsonnet, jsonnet-lib
- Language: Jsonnet
- Homepage:
- Size: 520 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Etherpad jsonnet library
Jsonnet library for https://etherpad.org/
## Usage
Install it with jsonnet-bundler:
```console
jb install https://github.com/Duologic/etherpad-libsonnet`
```
Import into your jsonnet:
```jsonnet
local etherpad = import 'github.com/Duologic/etherpad-libsonnet/main.libsonnet';
{
etherpad:
etherpad.new('etherpad-play')
+ etherpad.withDatabaseSecret(
db_user='etherpad',
db_pass='supersecretpassword',
db_host='mysql.default.svc.cluster.local',
),
}
```