{"id":13526106,"url":"https://github.com/threestage/yourls","last_synced_at":"2026-03-14T19:17:41.948Z","repository":{"id":137667640,"uuid":"1006623","full_name":"threestage/yourls","owner":"threestage","description":"An API wrapper for the Yourls open-source URL shortener","archived":false,"fork":false,"pushed_at":"2011-08-18T07:14:50.000Z","size":449,"stargazers_count":12,"open_issues_count":1,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-02T10:34:10.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/threestage.png","metadata":{"files":{"readme":"README.markdown","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-10-19T18:04:11.000Z","updated_at":"2024-04-10T20:15:55.000Z","dependencies_parsed_at":"2023-03-11T14:15:32.899Z","dependency_job_id":null,"html_url":"https://github.com/threestage/yourls","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/threestage%2Fyourls","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threestage%2Fyourls/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threestage%2Fyourls/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/threestage%2Fyourls/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/threestage","download_url":"https://codeload.github.com/threestage/yourls/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246596786,"owners_count":20802894,"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-08-01T06:01:25.353Z","updated_at":"2025-12-17T20:46:26.728Z","avatar_url":"https://github.com/threestage.png","language":"Ruby","funding_links":[],"categories":["Integrations"],"sub_categories":["3rd party Integrations and Frameworks"],"readme":"# Yourls\n\n[YOURLS](http://yourls.org) is an open-source, PHP url-shortening service.\n\n## Installation\n\n    gem install yourls\n\n## Usage\n\nCreate a Yourls client using your hostname and api key as follows:\n\n    yourls = Yourls.new(your_hosted_yourls_address, your_hosted_yourls_api_key)\n\nYou can then interact with the client to shorten or expand urls or to get statistics about your service:\n\n    yourls.shorten('http://www.google.com')\n    yourls.shorten('http://www.google.com', :keyword =\u003e 'goog') # Creates a custom keyword url\n    yourls.expand('goog')\n    yourls.stats\n\n`expand` and `shorten` both will return a `Yourls::Url` object\n\n    url = yourls.shorten('http://www.google.com', :keyword =\u003e 'goog')\n    url.short_url #=\u003e \"http://your-service/goog\"\n    url.long_url #=\u003e \"http://www.google.com\"\n    url.keyword #=\u003e \"goog\"\n\n## Copyright\n\nCopyright (c) 2010 [Three Stage Media, Inc.](http://www.threestage.com) and licensed under the MIT License (see MIT-LICENSE for details).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreestage%2Fyourls","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthreestage%2Fyourls","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthreestage%2Fyourls/lists"}