Back to services

OliveTin

Web interface for running Linux shell commands.

View alternatives to OliveTin
Suggest edit
Open source
Self-hostable
AGPL-3.0
Recent reviews

Alternatives

Tech stack

No tech stack added yet. Sign in to suggest some

Introduction

OliveTin is positioned as a way to "run predefined shell commands safely and simply from a web interface." It's well suited to everyday tasks such as restarting services, launching backup scripts, and sending pings, especially when using SSH directly is inconvenient, impossible, or too much hassle. Define an action in the YAML configuration file, refresh the page, and a matching button appears. No separate admin backend is needed.

The project is licensed under AGPL and is free, open-source software. Its website lists its maturity as "Production" (ready for production use), and it is included in the Awesome Selfhosted list.

Key Features

  • Buttons generated from YAML: Configuration as code. Every button is defined in the configuration file, making it easy to version, copy, and share.
  • Typed arguments and forms: Turn command-line arguments into dropdowns and validated input fields (with types such as ascii_identifier and int). OliveTin builds the command safely, so users never need to type free-form shell input.
  • Access control lists (ACLs): Control separately who can view and who can run each action. For example, guests see only a few buttons, while administrators see all actions.
  • Multiple login methods: Supports local users, OAuth2, JWT (HMAC or key/JWKS), trusted headers from a reverse proxy, and API keys.
  • Execution records and logs: Every run saves its output, status, and history, which you can review at any time, making auditing easier.
  • Entities: Generate templated buttons in bulk from lists in YAML or JSON format (hosts, containers, people, folders, and so on). One template can map to many buttons.
  • Dashboards: Group actions using folders and fieldsets, so the interface stays tidy even when you have many actions.
  • Multiple triggers: Besides manual clicks, actions can run automatically on a Cron schedule, via a webhook, from calendar files, or when files in a directory are created or modified.
  • Remote execution over SSH: Buttons can run commands on other hosts.
  • Mobile-friendly: Use large touch buttons on a phone or a wall-mounted tablet.

Target Users and Use Cases

  • Homelab and self-hosting enthusiasts: for example, give family members a button that runs systemctl restart media-server.
  • Operations teams: give junior administrators a simple form with dropdowns to run custom scripts, such as backupScript.sh --folder {{ customerName }}.
  • Temporary access: for example, open SSH access to a server for the next 20 minutes.
  • Smart home: put a Wake-on-LAN button on a wall-mounted tablet.
  • Running long commands from your phone, such as apt update && apt upgrade -y.
  • AI agents: expose only the actions you publish to an agent, rather than an unrestricted shell. Every run records who started it, the arguments, and the result, which keeps behavior more controlled and makes auditing easier.

Core Strengths

  • Lightweight: Under the hood it uses only two execution modes, shell and exec. There is no plugin system, no extension marketplace, and no built-in integration with any automation platform. Any program installed on the host or reachable over SSH can be called, so curl, containers, and your own scripts can all become buttons.
  • Cross-platform: A small binary plus a YAML configuration is all it takes to run, covering everything from small ARM and RISC devices to Linux virtual machines and containers, as well as macOS, Windows, and other environments.
  • The No Nonsense pledge:
    • All code and resources are open source. There is no split into core, premium, or professional editions, and no paid features or plugins.
    • There is no SaaS or "cloud version."
    • No telemetry, usage data, or email addresses are collected (the update check in versions before 2024.06.02 has been removed entirely).
    • No feature requires an internet connection.
    • The project does not accept donations or sponsorships.

Installation and Configuration

For installation instructions, see the install guide in the official documentation (docs.olivetin.app/install). Once installed, you can start with a Hello World button and expand your configuration step by step. Example configuration:

listenAddressSingleHTTPFrontend: 0.0.0.0:1337
logLevel: "INFO"
actions:
- title: Restart Media Server
  icon: restart
  shell: systemctl restart media-server
- title: Ping host
  shell: ping {{ host }} -c {{ count }}
  icon: ping
  arguments:
    - name: host
      type: ascii_identifier
      default: example.com
    - name: count
      type: int
      default: 1

Worth Noting

  • The source code is hosted on GitHub (OliveTin/OliveTin), and community discussion takes place on Discord.
  • Swappable themes are available officially.
  • The project openly discloses the extent of AI involvement in its development: level 2 on a scale of 5 (pair programmer).