An open API service indexing awesome lists of open source software.

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.

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',
),
}
```