{"id":13524809,"url":"https://github.com/vitorccs/yourls-api-save-by-keyword","last_synced_at":"2026-04-20T21:34:16.384Z","repository":{"id":110981516,"uuid":"375117927","full_name":"vitorccs/yourls-api-save-by-keyword","owner":"vitorccs","description":"YOURLS plugin which updates the long URL of an existing keyword, or creates a new short URL with the supplied keyword","archived":false,"fork":false,"pushed_at":"2023-03-15T22:37:56.000Z","size":19,"stargazers_count":0,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-15T19:36:21.949Z","etag":null,"topics":["yourls-plugin"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/vitorccs.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}},"created_at":"2021-06-08T19:09:48.000Z","updated_at":"2022-01-12T13:21:29.000Z","dependencies_parsed_at":null,"dependency_job_id":"f059ba9e-3ee1-4d16-a291-35a6180ac1d7","html_url":"https://github.com/vitorccs/yourls-api-save-by-keyword","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/vitorccs/yourls-api-save-by-keyword","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorccs%2Fyourls-api-save-by-keyword","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorccs%2Fyourls-api-save-by-keyword/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorccs%2Fyourls-api-save-by-keyword/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorccs%2Fyourls-api-save-by-keyword/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vitorccs","download_url":"https://codeload.github.com/vitorccs/yourls-api-save-by-keyword/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vitorccs%2Fyourls-api-save-by-keyword/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32067614,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T21:26:33.338Z","status":"ssl_error","status_checked_at":"2026-04-20T21:26:22.081Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["yourls-plugin"],"created_at":"2024-08-01T06:01:13.651Z","updated_at":"2026-04-20T21:34:16.364Z","avatar_url":"https://github.com/vitorccs.png","language":"PHP","funding_links":[],"categories":["Plugins"],"sub_categories":["S"],"readme":"yourls-api-save-by-keyword [![Listed in Awesome YOURLS!](https://img.shields.io/badge/Awesome-YOURLS-C5A3BE)](https://github.com/YOURLS/awesome-yourls/)\n===================\n\nAdds a new action `save_by_keyword` to the [YOURLS API](https://yourls.org/#API).\n\nThis action either updates the long URL of an existing keyword, or creates a new short URL with the supplied keyword. \n\nThis plugin is useful when you prefer to determine your own keywords (e.g: `user-id-1`, `user-id-2`, `user-joe` etc) rather than letting YOURLS generating random ones (e.g: `a93al`, `n9sj8`, etc) and you need to keep their long URLs always up to date.\n\nWith this action, you may save up to three steps: check if an existing keyword already exists, then delete it, and then generating again under the same keyword.\n\nThe request parameters are:\n```\nusername \u003capi_username\u003e\npassword \u003capi_password\u003e\naction: \"save_by_keyword\"\nformat: \"json\"\nurl: \u003crequired: the long URL to shorten\u003e\nkeyword: \u003crequired: the keyword\u003e\ntitle: \u003coptional: the shorten URL title\u003e\n```\n\n**TIP:** In case you need to allow multiple short URLs for a same long URL, you need to set the parameter `YOURLS_UNIQUE_URLS` to `false`.\n```php\n# config.php\ndefine( 'YOURLS_UNIQUE_URLS', false );\n```\n\n# How to\n* In `/user/plugins`, create a new folder named `yourls-api-save-by-keyword`\n* Drop these files in that directory\n* Go to the Plugins administration page and activate the plugin\n* Have fun\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitorccs%2Fyourls-api-save-by-keyword","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvitorccs%2Fyourls-api-save-by-keyword","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvitorccs%2Fyourls-api-save-by-keyword/lists"}