{"id":17336563,"url":"https://github.com/amirali/kutt","last_synced_at":"2025-04-14T16:33:41.544Z","repository":{"id":45495987,"uuid":"155866312","full_name":"amirali/kutt","owner":"amirali","description":"API wrapper library and cli for kutt.it","archived":true,"fork":false,"pushed_at":"2025-03-01T17:27:03.000Z","size":82,"stargazers_count":29,"open_issues_count":0,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T09:46:06.267Z","etag":null,"topics":["cli","kutt","python","python-fire","python3"],"latest_commit_sha":null,"homepage":"https://kutt.it","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/amirali.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}},"created_at":"2018-11-02T12:58:52.000Z","updated_at":"2025-03-01T17:27:39.000Z","dependencies_parsed_at":"2023-01-22T11:16:07.071Z","dependency_job_id":null,"html_url":"https://github.com/amirali/kutt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirali%2Fkutt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirali%2Fkutt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirali%2Fkutt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/amirali%2Fkutt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/amirali","download_url":"https://codeload.github.com/amirali/kutt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248916978,"owners_count":21182904,"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":["cli","kutt","python","python-fire","python3"],"created_at":"2024-10-15T15:31:24.749Z","updated_at":"2025-04-14T16:33:41.526Z","avatar_url":"https://github.com/amirali.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Kutt cli\r\n\r\n![](https://img.shields.io/pypi/v/kutt)\r\n\r\n⚠️ This repo will be archived until further notice.  \r\nLong story short, I had some ideas about contributing to kutt itself and update this repo as it goes on. But for the past months, I could find the time nor energy to do it. If you are willing to maintain this repo, contact me via [email](mailto:amiralinull+kutt@gmail.com) to discuss the ideas and transfer the ownership.\r\n\r\n- [CLI](https://github.com/amirali/kutt#cli)\r\n- [library](https://github.com/amirali/kutt#lib)\r\n\r\n## CLI\r\n\r\nSignup in kutt.it and in setting menu generate an API Key and run `kutt config help`\r\n\r\n```\r\n\u003e pip install kutt\r\n```\r\nType `kutt [COMMAND] --help` for get help\r\n\r\n# lib\r\n\r\nuse kutt in your code in this sul:  \r\n```python\r\nfrom kutt import kutt\r\n\r\nAPI = \"YOUR_API_KEY\"\r\n\r\n# For submit a new URL\r\n# obj variable has url object data (read the https://github.com/thedevs-network/kutt#api document)\r\nobj = kutt.submit(\r\n    API,\r\n    \"URL\",\r\n    description=\"OPTIONAL description\",\r\n    expire_in=\"OPTIONAL expire time\",\r\n    password=\"OPTIONAL password\",\r\n    customurl=\"OPTIONAL customurl\",\r\n    description=\"OPTIONAL desciption\",\r\n    domain=\"OPTIONAL custom domain\",\r\n    reuse=True, # OPTIONAL\r\n    )\r\n\r\n# For delete a URL\r\nkutt.delete(API, \"ID\")\r\n\r\n\r\n# update a URL \r\nkutt.update(API, \"ID\", \"URL\", \"address\", description=\"OPTIONAL description\", expire_in=\"OPTIONAL expire time\")\r\n\r\n\r\n# Get urls list\r\nlinks = kutt.links(API, limit=10, skip=0)\r\n\r\n# Get url stats\r\nstats = kutt.stats(API, \"ID\")\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirali%2Fkutt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famirali%2Fkutt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famirali%2Fkutt/lists"}