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 --from git+https://github.com/faker2048/autostartx.git autostartx add "python -m http.server 8000" --name web
uvx --from git+https://github.com/faker2048/autostartx.git autostartx add "npm run dev" --name frontend
Option 2: Install to system
# Install once, use anywhere
uvx --from git+https://github.com/faker2048/autostartx.git autostartx install
autostartx add "python -m http.server 8000" --name web
autostartx add "tailscale up --ssh" --name vpn
Option 3: Traditional install
git clone https://github.com/faker2048/autostartx.git && cd autostartx && pip install .
Check your services
autostartx list # Show all services
autostartx logs web -f # View logs
Commands
autostartx add "command" # Add service
autostartx list # Show services
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-0.1.0.tar.gz.
File metadata
- Download URL: autostartx-0.1.0.tar.gz
- Upload date:
- Size: 20.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
230ef1b52e6cbc37c603473a6779166b8c4a7001ce9729e95f01b7b085c3a7f6
|
|
| MD5 |
1e823ae883beef0f84403c7ec7b77aa4
|
|
| BLAKE2b-256 |
56245d83a039a4ca15dad8d88cb87810e094eaf0357362a292fa446b18427870
|
File details
Details for the file autostartx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: autostartx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 21.1 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 |
75da3d3d317f0bc4c01d0a3d7661fbf20259bba5362577d4131e37b4b1037e64
|
|
| MD5 |
2cfa12608c760f497457cbae95580698
|
|
| BLAKE2b-256 |
89b2776d49bed0849497467424bd4bee16256985e3e39f2d233c1d8eb044a118
|