olivetin
Safe and simple access to predefined shell commands from a web interface
Safely give access to commands, for less technical people:
- Give your family a button to podman restart plex
- Give junior admins a simple web form with dropdowns, to start your custom script: backupScript.sh --folder
- Enable SSH access to the server for the next 20 mins: firewall-cmd --add-service ssh --timeout 20m
Simplify complex commands, make them accessible and repeatable:
- Expose complex commands on touchscreen tablets stuck on walls around your house: wake-on-lan aacc:11:22:33
- Run long-lived commands on your servers from your cell phone: apt update -y
- Define complex commands with lots of preset arguments, and turn a few arguments into dropdown select boxes: docker start
amd64 armhf arm64
Installation
1. Add WakeMeOps repository
curl -sSL https://raw.githubusercontent.com/upciti/wakemeops/main/assets/install_repository | sudo bash
2. Install olivetin
Snippets
Download URLs
Version | SHA256 | Size (KB) |
---|---|---|
2024.09.16 | 9fe3280f6a734a4d5e599b4cf00b7b568f695293cce2a0f9db7fe515610f722a |
4600 |
2024.09.11 | df1da947b8aa3b01aca5e05f4d167f583a0063fd371d0a9f991864f7a72f6866 |
4598 |
2024.09.10 | 7048be91bd679948e2c6ff3f5f4b809addd43e6bcc489f40ef74971309a1e1bd |
4599 |
2024.09.02 | d8ce4c108117f283e282de30433e74d167f124e9d3d5f1f4d3ea1e613a418ced |
4598 |
2024.08.31 | 31eaeea6d776d560de18f8b3253155ffd74e6955ab3517842a97388607418c4e |
4598 |
2024.08.25 | 67a0439685112cf6e5a3b4284597ab62f756130bc51d7a4f4f1b482d0b07d258 |
4597 |
2024.08.14 | bcab32235e268be71699b4884b956a7e32c25a9bcb4d24ef9def4520dcd4e026 |
4599 |
2024.07.153 | 62b295ff643393ce643d75b0f1281eed065dabedbb08ec851e991aa44d063c7e |
4593 |
2024.07.15 | 3f4ade6f94656b31dfddf2d8da0163a637aa204445792ca533572a1653706f56 |
4594 |
2024.07.13 | 4962cc8f78af450f8f075673e9e96e6e83c37a7de765638c37c5e2d85ea79fdf |
4591 |
Version | SHA256 | Size (KB) |
---|---|---|
2024.09.16 | 2ef7098135d335c643f05b52dd34aa92ed7ac56a27ab5c4e5c7e8c7917bccb5a |
4025 |
2024.09.11 | f2d8bb5527f54585e4a58952fd57be305df40eb20fa10576c94d657c08f56c5d |
4024 |
2024.09.10 | 3c9c27fb441c4e621ef11e4f0811ed15443050098dd3640fd3af753fbb53aaf5 |
4025 |
2024.09.02 | c2614acbe296a5585cb438aced5577f7a6e0c555c44a1242d06c0dfed8385361 |
4024 |
2024.08.31 | 61ecf8d11169c392e5a5ab7a81ec74d43fd71d679f2eb930c2265770976a860a |
4023 |
2024.08.25 | 03e2afc91efa1a75a6179e3320947981e74d699926bf89b731a2db17cd0ca6ab |
4023 |
2024.08.14 | 343946f94d103e34280fd54e24022b3dfcd97102ad556ffcaa6fceb9b4292cff |
4022 |
2024.07.153 | d5598775f1c344d1828fa0240beea4d4f24bd2e8a7e62448a77c98a77f482576 |
4020 |
2024.07.15 | 255b7770309737842aa8af1acbc1493a924d8581dfb5ab8d3158f3978da5b07b |
4019 |
2024.07.13 | 42575841d46f67f61da3377e7123dd2e3874ad595693977b2495516809efb5c6 |
4018 |
Version | SHA256 | Size (KB) |
---|---|---|
2024.09.16 | 455ce1337c00aeb66e0a65f51ea2de2b0efcfd9afd6e4401a80e4c3b9301ee9e |
4007 |
2024.09.11 | e320d2b74a6a75fedf44f7bc5a8d9a30f9d0c59440fc6505913fefff96d80cc6 |
4005 |
2024.09.10 | dd5c95cb6de762bf252d16a62f25b9e2aa6a7c5fa01a3dd0b3cf1deb89f4c5e4 |
4007 |
2024.09.02 | e4f6e69682846dc5c4c035dc34f527ab0118a00073f11145aac84b711939bc1c |
4006 |
2024.08.31 | 6b01b49cbe20d1f58ba4718376d4b2fb09b29b2f915a0e38051dbfd3d726af69 |
4004 |
2024.08.25 | 4ab9fde84de6da6de6b21e2a330ff81a35b0179a264f8f5bdc85ec3f940ab513 |
4003 |
2024.08.14 | 97f50c3c1ccd43aae39a0c8a02201a6c3dc350cd57be100ac915735711e88789 |
4002 |
2024.07.153 | fa30b637ba94465817d4921d6d0d30962575011c0bac974485216078af886918 |
3999 |
2024.07.15 | 43059681a31abc4f19472bd00858188f08e7974d168a33f6cf2f2179f0caf7b3 |
3998 |
2024.07.13 | 6682c2ebcf5a4599c234bb0bb843a1bc12c913f0eca8bfa31314d554235a5a1f |
3997 |
Blueprints
Debian packages listed on this page are generated from op2deb YAML blueprints. Blueprints for olivetin are versioned here.
Click here to see olivetin ops2deb blueprints
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/olivetin/ops2deb.yml
name: olivetin
matrix:
architectures:
- amd64
- arm64
- armhf
versions:
- 2024.06.01
- 2024.06.02
- 2024.06.04
- 2024.07.07
- 2024.07.13
- 2024.07.15
- 2024.07.153
- 2024.08.14
- 2024.08.25
- 2024.08.31
- 2024.09.02
- 2024.09.10
- 2024.09.11
- 2024.09.16
revision: "2"
summary: safe and simple access to predefined shell commands from a web interface
description: |-
Safely give access to commands, for less technical people:
- Give your family a button to podman restart plex
- Give junior admins a simple web form with dropdowns, to start your custom
script: backupScript.sh --folder {{ customerName }}
- Enable SSH access to the server for the next 20 mins:
firewall-cmd --add-service ssh --timeout 20m
Simplify complex commands, make them accessible and repeatable:
- Expose complex commands on touchscreen tablets stuck on walls around your
house: wake-on-lan aa:bb:cc:11:22:33
- Run long-lived commands on your servers from your cell phone: apt update -y
- Define complex commands with lots of preset arguments, and turn a few
arguments into dropdown select boxes: docker start {{container }}
recommends:
- sudo
fetch:
url: https://github.com/OliveTin/OliveTin/releases/download/{{version}}/OliveTin_linux_{{target}}.deb
targets:
armhf: armv7
install:
- data/usr/local/bin/OliveTin:/usr/bin/olivetin
- data/var/www/olivetin:/var/www/olivetin
- content: |-
#!/bin/sh
set -e
if ! id -u olivetin >/dev/null 2>&1; then
useradd --system --no-create-home --user-group --shell /bin/false olivetin
fi
path: "{{debian}}/postinst"
- content: |-
[Unit]
Description=OliveTin
Wants=network-online.target
After=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/olivetin
User=olivetin
Group=olivetin
Restart=always
RestartSec=10
ProtectSystem=strict
PrivateTmp=yes
[Install]
WantedBy=multi-user.target
path: /lib/systemd/system/olivetin.service
- content: |-
listenAddressSingleHTTPFrontend: 0.0.0.0:1337
logLevel: "INFO"
actions:
- title: Ping Google
shell: ping google.com -c 1
icon: ping
timeout: 10
path: /etc/OliveTin/config.yaml
- content: "# olivetin ALL=NOPASSWD: /usr/bin/systemctl start example.service"
path: /etc/sudoers.d/20-olivetin
The blueprint fetch
keyword contains a URL template pointing to olivetin releases. Downloaded files are locked in a lockfile versioned here.
Click here to see olivetin release hashes
https://github.com/upciti/wakemeops/blob/main/blueprints/devops/olivetin/ops2deb.lock.yml
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.06.01/OliveTin_linux_amd64.deb
sha256: dd562c3a15350ddc8c671bb4688ac1b76e43afe33a53ba14e8e7defd6bf40260
timestamp: 2024-06-02 15:12:48+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.06.01/OliveTin_linux_arm64.deb
sha256: 455705addd16e8889d4be13171a853b6a5e54b9ae2dcc236f4e8baa94c5b4d38
timestamp: 2024-06-02 15:12:48+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.06.01/OliveTin_linux_armv7.deb
sha256: fdf27246e24a0b892ae05c68d5f65c63ad9c6acef0857e0f8688d6026b64e468
timestamp: 2024-06-02 15:12:48+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.06.02/OliveTin_linux_amd64.deb
sha256: 8fa8da63b3a8573bd1f5db625a31694a884a40a88c3692674383758ded519ca7
timestamp: 2024-06-03 18:07:18+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.06.02/OliveTin_linux_arm64.deb
sha256: 497917627ca99f8fe5a4e3065fb668def74e7c00a05c1f5005b6838f45a37c8b
timestamp: 2024-06-03 18:07:18+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.06.02/OliveTin_linux_armv7.deb
sha256: 9086dbfc5749ddf633ac983a2144153062768a238eea3dc5a47ec18a1ab12116
timestamp: 2024-06-03 18:07:18+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.06.04/OliveTin_linux_amd64.deb
sha256: f38bc0557bab303feceab7ed983c6c23d39f28bc25efcbe4d7e1088a41e5c8d4
timestamp: 2024-06-04 15:05:56+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.06.04/OliveTin_linux_arm64.deb
sha256: f89c8e14743d60a6ab81d06370d481969eec611b1c82657794ee5fb26b382dfc
timestamp: 2024-06-04 15:05:56+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.06.04/OliveTin_linux_armv7.deb
sha256: fd03a5b86ee9991f8765a40cbe6fc6cf1f57dcb2c4dac748aaa9bef7125c0e19
timestamp: 2024-06-04 15:05:56+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.07/OliveTin_linux_amd64.deb
sha256: 767958cae33740cbb833e9eba100902712721ea2e977810352350c1779580e96
timestamp: 2024-07-09 09:06:44+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.07/OliveTin_linux_arm64.deb
sha256: 378ce98632abd10478eb15660f432a7ff42a0279c38924cfdb9896036948b159
timestamp: 2024-07-09 09:06:44+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.07/OliveTin_linux_armv7.deb
sha256: 9d24955b347458e3d330c6430d7e90830ff708eaae977fd1dc5639f597047e78
timestamp: 2024-07-09 09:06:44+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.13/OliveTin_linux_amd64.deb
sha256: e5edd38aa09a9030a744c7e96e99826fa22aae8acc5efba5e7997ca079de160d
timestamp: 2024-07-14 03:07:40+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.13/OliveTin_linux_arm64.deb
sha256: 1e53e7d8811c17e323577a439219020f5bb1c7c65ee2e8cf8a974b11970bd598
timestamp: 2024-07-14 03:07:40+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.13/OliveTin_linux_armv7.deb
sha256: 410c340eadc1335a3cf31d5e9c72e301b962da08ca3a28184fb63f9b57507832
timestamp: 2024-07-14 03:07:40+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.15/OliveTin_linux_amd64.deb
sha256: 09c960263582c0e99eb93d21b8abddbc6585e4cd46b298779afd0922c2fd9121
timestamp: 2024-07-15 18:07:39+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.15/OliveTin_linux_arm64.deb
sha256: aad0b8003a29c2b6435dce2b302072b376609e3cfa0e809fc48ebbd4414a6a19
timestamp: 2024-07-15 18:07:39+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.15/OliveTin_linux_armv7.deb
sha256: ecead655b332db827e7d33da234404d74bb901ca73a4de795bb75415d6fc95a1
timestamp: 2024-07-15 18:07:39+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.153/OliveTin_linux_amd64.deb
sha256: 7e6de3fe46cf41cc226410941ae8590ac2dd630666331684fed5481d122f548d
timestamp: 2024-07-16 12:09:18+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.153/OliveTin_linux_arm64.deb
sha256: debde77763d5dade95921389590f92c1f51acf0bcf1e8748804ae1a5cc8a7ba2
timestamp: 2024-07-16 12:09:18+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.07.153/OliveTin_linux_armv7.deb
sha256: 7b30a4b00c35166c07ac57ac883bee8726be885f3567d241d4edf50438b7913e
timestamp: 2024-07-16 12:09:18+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.08.14/OliveTin_linux_amd64.deb
sha256: 0fb2912d98083e0f2d0192be4498251b17adc390b5b28f163053324d5cd086f4
timestamp: 2024-08-15 00:23:17+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.08.14/OliveTin_linux_arm64.deb
sha256: 0d75c4d99443d39db4969cb1734dec25cd388c94e0f06206a7eba21919356138
timestamp: 2024-08-15 00:23:17+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.08.14/OliveTin_linux_armv7.deb
sha256: d1b80dc583dec43083aa270a36922a75c9b3543b84929df25e59c1a3b472ff56
timestamp: 2024-08-15 00:23:17+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.08.25/OliveTin_linux_amd64.deb
sha256: d30aee6f2ddec3b59626e32f102ec9175ba9f59db22d9f0fe9973d042cc0a6a3
timestamp: 2024-08-26 09:06:36+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.08.25/OliveTin_linux_arm64.deb
sha256: 9a3e0fd3707563db60c5398a9c021b688e914a6f567376addc528b5282e126fa
timestamp: 2024-08-26 09:06:36+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.08.25/OliveTin_linux_armv7.deb
sha256: 64af392658525f6720e29b5627cdec52c8b9bd243083d74ba654836e01b43f03
timestamp: 2024-08-26 09:06:36+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.08.31/OliveTin_linux_amd64.deb
sha256: 0092be28d3fecf982f26f36fc62e1e83d99c7ea189cb6b1d70d31415b1e0fa5a
timestamp: 2024-09-01 00:31:34+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.08.31/OliveTin_linux_arm64.deb
sha256: 47fecadead6444cbf49fea4bfc2d74fe721dcdababecc03280f0d8d029efae7b
timestamp: 2024-09-01 00:31:34+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.08.31/OliveTin_linux_armv7.deb
sha256: f8df37035f29f7b0c7425629eb82563cfc725723dd35ef9414b537461c6ada5e
timestamp: 2024-09-01 00:31:34+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.02/OliveTin_linux_amd64.deb
sha256: a6c06abc560a990a6d50402dd4bd07beae1cefaf59bb893006c67d0edf98e387
timestamp: 2024-09-03 00:24:44+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.02/OliveTin_linux_arm64.deb
sha256: 9ab198afc3f62964d9da99246ebb440d74e22191f50eeea1e3dc7b77f4bae021
timestamp: 2024-09-03 00:24:44+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.02/OliveTin_linux_armv7.deb
sha256: 2b718f63f6394d54bd50a2e8023299eef3d16657d51c1f19177cabf4b5841d88
timestamp: 2024-09-03 00:24:44+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.10/OliveTin_linux_amd64.deb
sha256: f3757e3020442548aaa4df8a1ff2f0b443ee041e9d67cd8a0733da4d4858a067
timestamp: 2024-09-11 00:25:11+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.10/OliveTin_linux_arm64.deb
sha256: 4a2ceaf40fe4d0a323e9f4e55c24d970b7c23796724159c9073103611fb0888d
timestamp: 2024-09-11 00:25:11+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.10/OliveTin_linux_armv7.deb
sha256: 9a4f167c2bbf0efbf6b0fa246aa8b24596eba33eea54d9433ba2ce168749f3d8
timestamp: 2024-09-11 00:25:11+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.11/OliveTin_linux_amd64.deb
sha256: 8592bc06eba74046d14c45d1116d25ab458a69d35d150f7b5c536310ad7d29cb
timestamp: 2024-09-11 18:07:33+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.11/OliveTin_linux_arm64.deb
sha256: 0c9044e12f11eae9131ceb8afa5ba16982c8c370663027302c53fa4b0d745d76
timestamp: 2024-09-11 18:07:33+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.11/OliveTin_linux_armv7.deb
sha256: 72430e8044bc67f3db2a40acdc910baa5805693122e1a51b74ce577b2db63f85
timestamp: 2024-09-11 18:07:33+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.16/OliveTin_linux_amd64.deb
sha256: 92515ff9e181e4ac9ebb927420bedece8f36e2f02bc994a4aed1290f639c5c2e
timestamp: 2024-09-17 00:21:38+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.16/OliveTin_linux_arm64.deb
sha256: 095f963e08373c6551c392cda4fc27f494c4868fdbb1caf5af3d069eb8eab836
timestamp: 2024-09-17 00:21:38+00:00
- url: https://github.com/OliveTin/OliveTin/releases/download/2024.09.16/OliveTin_linux_armv7.deb
sha256: 1ca2ea9c76a8188b4f7e18ec10c5698311d6f768cb3e0b4b47a53400e179435e
timestamp: 2024-09-17 00:21:38+00:00