No description
  • HTML 32.3%
  • CSS 32.3%
  • Ruby 29.4%
  • Dockerfile 4.2%
  • Shell 1.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
whysthatso 5533cf4218
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
housekeeping
2026-09-22 13:46:02 +03:00
bin housekeeping 2026-09-22 13:46:02 +03:00
db initial commit 2024-03-14 20:18:44 +02:00
public add favicon 2026-09-22 13:45:51 +03:00
views add favicon 2026-09-22 13:45:51 +03:00
.dockerignore update gems, add better developer experience 2026-09-20 12:38:32 +03:00
.gitignore fix multiple configuration issues 2024-03-15 10:13:05 +02:00
.herb.yml add basic styling, fix Dockerfile 2026-09-20 15:53:36 +03:00
.standard.yml fix standardrb 2024-05-22 11:11:26 +03:00
.woodpecker.yml fix sqlite3 bug by pinning alpine version to 3.18 2024-03-14 21:24:02 +02:00
config.ru update gems, add better developer experience 2026-09-20 12:38:32 +03:00
Dockerfile bugfix 2026-09-20 16:54:20 +03:00
Gemfile add basic styling, fix Dockerfile 2026-09-20 15:53:36 +03:00
Gemfile.lock bugfix 2026-09-20 16:54:20 +03:00
README.md initial commit 2024-03-14 20:18:44 +02:00
vernest.rb add basic styling, fix Dockerfile 2026-09-20 15:53:36 +03:00

VerNest

Web Application to centraly store version strings of arbitrary things.

Endpoints

/

This page.

"/programs/new"

Form to add a new record

"/programs"

Index of all records

"/programs/:id/edit"

Form to edit an existing record

"[/programs/version&name=Foo Bar](/programs/version&name=Foo Bar)"

Returns json string with the currently recorded version string of "Foo Bar"

[{"version":"1.0"}]

cURL examples

NB basic auth has to be implemented via reverse proxy or similar.

Call to add a new record

curl -u admin:secret -d '{"name":"Example Program", "version":"1.0", "program_type":"Utility"}' -H "Content-Type: application/json" -X POST http://localhost:4567/programs

Call to receive version string by providing the program name, and optionally the program type

curl -u admin:secret -G http://localhost:4567/programs/version --data-urlencode "name=Example Program"

Call to receive all entries

curl -u admin:secret -G http://localhost:4567/programs --data-urlencode "format=json"