{"id":16179682,"url":"https://github.com/thomasheller/curlinator","last_synced_at":"2025-04-07T11:45:19.855Z","repository":{"id":72940208,"uuid":"228000991","full_name":"thomasheller/curlinator","owner":"thomasheller","description":"URL download helper service","archived":false,"fork":false,"pushed_at":"2019-12-14T12:41:18.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-08-03T13:13:43.600Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomasheller.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":"2019-12-14T09:58:54.000Z","updated_at":"2024-06-19T12:19:16.306Z","dependencies_parsed_at":"2023-05-26T03:46:58.879Z","dependency_job_id":null,"html_url":"https://github.com/thomasheller/curlinator","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasheller%2Fcurlinator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasheller%2Fcurlinator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasheller%2Fcurlinator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomasheller%2Fcurlinator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomasheller","download_url":"https://codeload.github.com/thomasheller/curlinator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648923,"owners_count":20972942,"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":[],"created_at":"2024-10-10T05:43:45.460Z","updated_at":"2025-04-07T11:45:19.835Z","avatar_url":"https://github.com/thomasheller.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# curlinator\n\nURL download helper service\n\n## Setup\n\n### Prerequisites\n\nInstall Go for your platform: https://golang.org\n\nI recommend gimme: https://github.com/travis-ci/gimme\n\n```\nmkdir -p ~/bin\ncurl -sL -o ~/bin/gimme https://raw.githubusercontent.com/travis-ci/gimme/master/gimme\nchmod +x ~/bin/gimme\n```\n\n### Download\n\nClone this repository into the `src` directory of your\n[`$GOPATH`](https://golang.org/doc/code.html#GOPATH)\n(default: `~/go/src`):\n\n```\ngit clone https://github.com/thomasheller/curlinator ~/go/src/github.com/thomasheller/curlinator\n```\n\n### Build\n\n```\neval $(~/bin/gimme stable)\ncd ~/go/src/github.com/thomasheller/curlinator\ngo get\ngo build\n```\n\n### Deploy as systemd service\n\n- Put the `curlinator` binary in `/usr/local/bin`\n- Put the `curlinator.service` file in `/lib/systemd/system`\n- Add user and group `curlinator` and create the `/var/curlinator` directory (`useradd -U -m -d /var/curlinator curlinator`)\n\nEnable service:\n\n```\nsystemctl enable curlinator\nservice curlinator start\nservice curlinator status\n```\n\n## Usage\n\n```\ncurl -d '{\"url\":\"https://www.example.com\"}' 'http://localhost:8000/add'\n\ncurl -d '{\"url\":\"https://www.example.com\"}' 'http://localhost:8000/delete'\n\ncurl 'http://localhost:8000/list'\n\ncurl 'http://localhost:8000/status'\n```\n\nDownloaded URLs will appear in `/var/curlinator`.\n\nUse `journalctl -fu curlinator` to follow systemd logs.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasheller%2Fcurlinator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomasheller%2Fcurlinator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomasheller%2Fcurlinator/lists"}