{"id":22242293,"url":"https://github.com/erfjab/runner","last_synced_at":"2025-07-28T01:31:41.710Z","repository":{"id":265150070,"uuid":"895236449","full_name":"erfjab/runner","owner":"erfjab","description":"This repository serves as a template for running various scripts with different services.","archived":false,"fork":false,"pushed_at":"2024-11-27T23:10:55.000Z","size":6,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-11-28T00:20:17.938Z","etag":null,"topics":["automation","docker","git","installer","runner","script","uv"],"latest_commit_sha":null,"homepage":"https://t.me/ErfJabs","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/erfjab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-27T20:18:56.000Z","updated_at":"2024-11-27T23:27:36.000Z","dependencies_parsed_at":"2024-11-28T00:20:20.875Z","dependency_job_id":"65168d50-556a-4b29-9f96-5728879e2477","html_url":"https://github.com/erfjab/runner","commit_stats":null,"previous_names":["erfjab/runner"],"tags_count":1,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2Frunner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2Frunner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2Frunner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/erfjab%2Frunner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/erfjab","download_url":"https://codeload.github.com/erfjab/runner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":227850053,"owners_count":17829088,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","docker","git","installer","runner","script","uv"],"created_at":"2024-12-03T04:15:33.493Z","updated_at":"2024-12-03T04:15:34.045Z","avatar_url":"https://github.com/erfjab.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Runner Template Repository\n\nThis repository serves as a template for running various scripts with different services, such as Git, Docker, and [UV](https://docs.astral.sh/uv/). Currently, it supports UV with Git and Alembic, with plans to expand support for additional services, including Docker, in the future.\n\n\u003e **Note:** It's a new repo, so if you find any bugs, please let me know via issues\n\n## Script Overview\n\nThe script provided automates the installation, configuration, and management of a service. It includes functions for:\n\n- **Checking dependencies**: Verifies the required system and Python packages are installed.\n- **Cloning the repository**: Fetches the script source code from GitHub.\n- **Managing the service**: Supports starting, stopping, restarting, and checking the status of the service.\n- **Logging**: Captures both standard and error logs during execution.\n- **Uninstalling the service**: Completely removes the installation, service files, and logs.\n\n\n### Notes:\n- **Installation**: This script installs the necessary dependencies and prepares the service for running.\n- **Service Management**: Start, stop, or restart the service with systemd commands.\n- **Logging**: Logs are written to a specified log file for easy tracking of service operations.\n\n\n## Installation\n\n1. **Fork this repository** to your own account.\n2. **Customize the installation script** according to your needs.\n\n## Usage\n\nAfter completing the installation, you can use the following commands:\n\n- **Install Script**:\n\n  - public repo:\n    ```bash\n    sudo bash -c \"$(curl -sL {GITHUB_INSTALL_URL})\" @ install-script\n    ```\n\n  - private repo:\n    ```bash\n    sudo bash -c \"$(curl -H 'Authorization: token {GITHUB_TOKEN}' -sL {GITHUB_INSTALL_URL})\" @ install-script\n    ```\n\n- **Install the source**:\n  ```bash\n  {SCRIPT_NAME} install\n  ```\n\n- **Install the service**:\n  ```bash\n  {SCRIPT_NAME} install-service\n  ```\n\n- **Start the service and run the source**:\n  ```bash\n  {SCRIPT_NAME} start\n  ```\n\n- **Stop the service**:\n  ```bash\n  {SCRIPT_NAME} stop\n  ```\n\n- **Restart the service**:\n  ```bash\n  {SCRIPT_NAME} restart\n  ```\n\n- **View status**:\n  ```bash\n  {SCRIPT_NAME} status\n  ```\n\n- **View logs**:\n  ```bash\n  {SCRIPT_NAME} logs\n  ```\n\n- **Update the script**:\n  ```bash\n  {SCRIPT_NAME} update\n  ```\n\n- **Uninstall the service**:\n  ```bash\n  {SCRIPT_NAME} uninstall\n  ```\n\n\n## Contact \u0026 Support\n\n- Telegram Channel: [@ErfJabs](https://t.me/ErfJabs)\n\nFeel free to ⭐ the project to show your support!\n\n[![Stargazers over time](https://starchart.cc/erfjab/runner.svg?variant=adaptive)](https://starchart.cc/erfjab/runner)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfjab%2Frunner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ferfjab%2Frunner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ferfjab%2Frunner/lists"}