Transform any command-line program into an auto-restarting background service
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autostartx-1.0.4.tar.gz.
File metadata
- Download URL: autostartx-1.0.4.tar.gz
- Upload date:
- Size: 26.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
150cfb2f3596a6f81dab730d9ee3c34321a094205d8538b22b7191c3b5a34a19
|
|
| MD5 |
1a855550356d36ccae50c94a6ca67adf
|
|
| BLAKE2b-256 |
dfcf3aa186e8fa5da65d14c592cf54790d3438d54113a8a4a3ae972bbd92805a
|
File details
Details for the file autostartx-1.0.4-py3-none-any.whl.
File metadata
- Download URL: autostartx-1.0.4-py3-none-any.whl
- Upload date:
- Size: 26.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf9564dc9402ed9ad9cafe975c95deb79585e68f2e570053f434b6f05b07da01
|
|
| MD5 |
4f9f92a0eda67174dbc2d4475d3afaa3
|
|
| BLAKE2b-256 |
cfdc2daae03dc228ac0d9451c1fc44f7737da56db064bcdf7f672e5453c763fc
|