Skip to content

homettp/homettp

Repository files navigation

Homettp

Badges

Build Status License: MIT

Features

  • HTTP-based command runner β€” token access, payload parameters, multiline support, configurable timeouts
  • Background worker processing β€” async queue with real-time status tracking
  • Call history β€” command output with auto-refresh
  • Command management β€” regenerable tokens, custom icons, shareable URLs
  • User authentication β€” remember me, Redis-backed sessions
  • User management β€” CLI and web interface, Gravatar integration
  • Modern UI β€” Vue 3, Tailwind CSS, dark/light/system theme, responsive
  • Cross-platform β€” Linux, macOS, Windows
  • Docker support β€” multi-architecture (amd64, arm64)
  • Redis-backed storage β€” configurable key prefix for multi-instance use

Getting Started

Follow the steps below to install and configure Homettp.

Prerequisites

  • Redis: Version >= 5.0 for data storage
  • /bin/sh on Linux/MacOS for command execution
  • cmd.exe on Windows for command execution

Run with Docker

Image can be found at the package page on GitHub.

docker run --rm \
-e APP_URL=http://127.0.0.1:4000 \
-e APP_KEY=$(openssl rand -hex 16) \
-e REDIS_URL=redis://192.168.0.200:6379/0 \
-p 4000:4000 \
ghcr.io/homettp/homettp

Install from Binary

Download the latest release for your platform from the GitHub Releases page.


Install from Source

Prerequisites

  • Go: Version >= 1.26
  • Node.js: Version >= 22.0
  • Yarn or NPM

Steps

  1. Clone the repository:
git clone git@github.com:homettp/homettp.git
  1. Install UI dependencies and build:
cd homettp
yarn install
yarn build
  1. Build the binary:
go build
  1. Copy and edit the configuration:
cp .env.example .env

Configuration

All configuration is done through environment variables in the .env file.

General

Application Key (encryption key)

  • For example generate with openssl rand -hex 16 command
APP_KEY=

Application Address

APP_ADDR=:4000

Application URL

APP_URL=http://127.0.0.1:4000

Redis

Redis URL

REDIS_URL=redis://127.0.0.1:6379/0

Redis Key Prefix

REDIS_KEY_PREFIX=homettp:

Command

Command Timeout (in seconds)

COMMAND_TIMEOUT=60

Command Worker Count

COMMAND_WORKER_COUNT=2

Command History Limit

COMMAND_HISTORY_LIMIT=100

Usage

1. Make a user

./homettp make user <username> <email> <password>

2. Run the app

./homettp web serve

Reporting Issues

If you are facing a problem with this package or found any bug, please open an issue on GitHub.

License

The MIT License (MIT). Please see License File for more information.