Autostartx - Turn Any Command into a Service
Transform any command-line program into an auto-restarting background service with a single command. Simple, fast, zero configuration.
Quick Start
Option 1: One-time use with uvx
Turn long-running commands into services
uvx autostartx add "python -m http.server 8000" --name web
Option 2: Install to system
Install once, use anywhere
pip install autostartx
or
uvx autostartx install
Option 3: Traditional install
git clone https://github.com/faker2048/autostartx.git && cd autostartx && pip install .
Basic Usage
autostartx add "python -m http.server 8000" --name web
autostartx add "tailscale up --ssh" --name vpn
# Or use the short alias 'asx' (same functionality)
asx add "python -m http.server 8000" --name web
asx list
Check your services
autostartx list # Show all services
autostartx logs web -f # View logs
# Short version
asx list
asx logs web -f
Commands
autostartx add "command" # Add service (or: asx add "command")
autostartx list # Show services (or: asx list)
autostartx start/stop/restart # Control services
autostartx logs <name> -f # View logs
autostartx daemon --action start # Auto-restart daemon
Why Autostartx?
- Simple: One command to turn any long-running process into a service
- Reliable: Automatic restarts when processes crash
- Cross-platform: Works on Windows, Linux, macOS
- Zero config: No setup files needed
Perfect for dev servers, background daemons, monitoring tools, proxy services.
License
MIT License
Metadata
Release files for autostartx 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| autostartx-1.0.7.tar.gz | 25.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| autostartx-1.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 52.3 kB
Release files / autostartx-1.0.7.tar.gz
| Download URL | autostartx-1.0.7.tar.gz |
|---|---|
| Size | 25.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
284fa50d63a2de3ba4e8efd9cd62be4e1d218588fc1da97cd8d0a5693aa3f6f7
|
|
BLAKE2b-256 checksum How to use checksums |
006a94cbd03164fd87f7291d1c1a2d7b1f1cef340bed537e7bb9f8a7480f9301
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / autostartx-1.0.7-py3-none-any.whl
| Download URL | autostartx-1.0.7-py3-none-any.whl |
|---|---|
| Size | 26.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
061bf06bba0abb6b15ad43ef14e6bd575156949894fff424c01ab2d113f452fa
|
|
BLAKE2b-256 checksum How to use checksums |
a86c4f8738e97290da890481898c8a65bba95ff12e639abf5e7db949e6fa9b32
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|