Go to file
wpetit 08476e5346 chore: update README 2022-05-09 14:37:43 +02:00
.chglog chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
.githooks chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
cmd/frmd Initial commit 2022-05-03 18:04:11 +02:00
internal chore: use english in templates 2022-05-09 14:23:23 +02:00
misc feat: url based multi-format loaders/decoders 2022-05-09 14:23:01 +02:00
.env.dist Initial commit 2022-05-03 18:04:11 +02:00
.gitignore chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
.goreleaser.yaml chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
CHANGELOG.md chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
Makefile chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
README.md chore: update README 2022-05-09 14:37:43 +02:00
commitlint.config.js chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
go.mod feat: url based multi-format loaders/decoders 2022-05-09 14:23:01 +02:00
go.sum feat: url based multi-format loaders/decoders 2022-05-09 14:23:01 +02:00
modd.conf chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
package-lock.json chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
package.json chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00
tailwind.config.js chore: tailwindcss theme + goreleaser basic recipe 2022-05-04 16:56:07 +02:00

README.md

Formidable

Web-based - but terminal compatible ! - little form editor using JSONSchema models.

Terminal compatible ?

The generated web UI does not use Javascript and can be used with terminal browsers like w3m or lynx.

Install

Manually

Download the pre-compiled binaries from the releases page and copy them to the desired location.

Bash script

curl -sfL https://raw.githubusercontent.com/Bornholm/formidable/master/misc/script/install.sh | bash

It will download frmd to your current directory.

Script available environment variables

Name Description Default
FORMIDABLE_VERSION Formidable version to download latest
FORMIDABLE_DESTDIR Formidable destination directory .

URLs

Formidable uses URLs to define how to handle schemas/defaults/values.

For example, to edit a web available schema (in YAML), defaults from stdin (in JSON) and values from the local file system (in HCL):

echo '{}' | frmd \
    edit
    --schema https://example.com/my-schema.yml \
    --defaults stdin://local?format=json \
    --values file:///my/file/absolute/path.hcl

The ?format=<json|yaml|hcl> query variable allows to specify the file format when no file extension is available (for example when reading from stdin).

Licence

AGPL-3.0