autostartx


Nameautostartx JSON
Version 1.0.7 PyPI version JSON
download
home_pageNone
SummaryTransform any command-line program into an auto-restarting background service
upload_time2025-07-26 20:18:56
maintainerNone
docs_urlNone
authorNone
requires_python>=3.8
licenseNone
keywords service process daemon auto-restart cli
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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.

[![Python](https://img.shields.io/badge/python-3.8+-blue.svg)](https://python.org) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

[中文文档](README_zh.md) | [English](README.md)

## 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**
```bash
git clone https://github.com/faker2048/autostartx.git && cd autostartx && pip install .
```

**Basic Usage**
```bash
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**
```bash
autostartx list        # Show all services
autostartx logs web -f # View logs

# Short version
asx list
asx logs web -f
```

## Commands

```bash
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

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "autostartx",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": "service, process, daemon, auto-restart, cli",
    "author": null,
    "author_email": "Autostartx <autostartx@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/00/6a/94cbd03164fd87f7291d1c1a2d7b1f1cef340bed537e7bb9f8a7480f9301/autostartx-1.0.7.tar.gz",
    "platform": null,
    "description": "# Autostartx - Turn Any Command into a Service\n\nTransform any command-line program into an auto-restarting background service with a single command. Simple, fast, zero configuration.\n\n[![Python](https://img.shields.io/badge/python-3.8+-blue.svg)](https://python.org) [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)\n\n[\u4e2d\u6587\u6587\u6863](README_zh.md) | [English](README.md)\n\n## Quick Start\n\n**Option 1: One-time use with uvx**  \n\nTurn long-running commands into services  \n\n`\nuvx autostartx add \"python -m http.server 8000\" --name web\n`\n\n**Option 2: Install to system**  \n\nInstall once, use anywhere  \n\n`pip install autostartx`\n\nor\n\n`uvx autostartx install`\n\n**Option 3: Traditional install**\n```bash\ngit clone https://github.com/faker2048/autostartx.git && cd autostartx && pip install .\n```\n\n**Basic Usage**\n```bash\nautostartx add \"python -m http.server 8000\" --name web\nautostartx add \"tailscale up --ssh\" --name vpn\n\n# Or use the short alias 'asx' (same functionality)\nasx add \"python -m http.server 8000\" --name web\nasx list\n```\n\n**Check your services**\n```bash\nautostartx list        # Show all services\nautostartx logs web -f # View logs\n\n# Short version\nasx list\nasx logs web -f\n```\n\n## Commands\n\n```bash\nautostartx add \"command\"           # Add service (or: asx add \"command\")\nautostartx list                   # Show services (or: asx list)\nautostartx start/stop/restart     # Control services  \nautostartx logs <name> -f         # View logs\nautostartx daemon --action start  # Auto-restart daemon\n```\n\n## Why Autostartx?\n\n- **Simple**: One command to turn any long-running process into a service\n- **Reliable**: Automatic restarts when processes crash\n- **Cross-platform**: Works on Windows, Linux, macOS\n- **Zero config**: No setup files needed\n\nPerfect for dev servers, background daemons, monitoring tools, proxy services.\n\n## License\n\nMIT License\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Transform any command-line program into an auto-restarting background service",
    "version": "1.0.7",
    "project_urls": {
        "Homepage": "https://github.com/autostartx/autostartx",
        "Issues": "https://github.com/autostartx/autostartx/issues",
        "Repository": "https://github.com/autostartx/autostartx"
    },
    "split_keywords": [
        "service",
        " process",
        " daemon",
        " auto-restart",
        " cli"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a86c4f8738e97290da890481898c8a65bba95ff12e639abf5e7db949e6fa9b32",
                "md5": "eece3a1538cdb8bd956c18e7b76ac1dc",
                "sha256": "061bf06bba0abb6b15ad43ef14e6bd575156949894fff424c01ab2d113f452fa"
            },
            "downloads": -1,
            "filename": "autostartx-1.0.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "eece3a1538cdb8bd956c18e7b76ac1dc",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 26325,
            "upload_time": "2025-07-26T20:18:54",
            "upload_time_iso_8601": "2025-07-26T20:18:54.602088Z",
            "url": "https://files.pythonhosted.org/packages/a8/6c/4f8738e97290da890481898c8a65bba95ff12e639abf5e7db949e6fa9b32/autostartx-1.0.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "006a94cbd03164fd87f7291d1c1a2d7b1f1cef340bed537e7bb9f8a7480f9301",
                "md5": "e0e28e8a100ac20d5e896f948e3eef0a",
                "sha256": "284fa50d63a2de3ba4e8efd9cd62be4e1d218588fc1da97cd8d0a5693aa3f6f7"
            },
            "downloads": -1,
            "filename": "autostartx-1.0.7.tar.gz",
            "has_sig": false,
            "md5_digest": "e0e28e8a100ac20d5e896f948e3eef0a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 25930,
            "upload_time": "2025-07-26T20:18:56",
            "upload_time_iso_8601": "2025-07-26T20:18:56.090477Z",
            "url": "https://files.pythonhosted.org/packages/00/6a/94cbd03164fd87f7291d1c1a2d7b1f1cef340bed537e7bb9f8a7480f9301/autostartx-1.0.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-26 20:18:56",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "autostartx",
    "github_project": "autostartx",
    "github_not_found": true,
    "lcname": "autostartx"
}
        
Elapsed time: 0.43529s