{"id":21593008,"url":"https://github.com/jonabrams/node-shorty","last_synced_at":"2025-07-05T06:01:39.567Z","repository":{"id":3075507,"uuid":"4098827","full_name":"JonAbrams/node-shorty","owner":"JonAbrams","description":"Node.JS package for generating short URL paths based on a given counter. Based on django-shorty.","archived":false,"fork":false,"pushed_at":"2013-04-16T04:17:33.000Z","size":103,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T07:10:00.378Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/JonAbrams.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":"2012-04-21T19:22:04.000Z","updated_at":"2015-05-14T13:45:43.000Z","dependencies_parsed_at":"2022-09-12T13:31:20.209Z","dependency_job_id":null,"html_url":"https://github.com/JonAbrams/node-shorty","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/JonAbrams%2Fnode-shorty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonAbrams%2Fnode-shorty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonAbrams%2Fnode-shorty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonAbrams%2Fnode-shorty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonAbrams","download_url":"https://codeload.github.com/JonAbrams/node-shorty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244201197,"owners_count":20415033,"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-11-24T17:10:58.491Z","updated_at":"2025-03-18T10:28:44.903Z","avatar_url":"https://github.com/JonAbrams.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# node-shorty\n\nA simple node.js package that will generate tinyurl/bit.ly style URL paths given number.\n\nThis is useful if your webapp needs to generate shortened URLs. Just keep track of the number of shortened URLs generated and pass the counter into _url\\_encode_. Then, pass an encoded path into _url\\_decode_ to find out the counter that was used to generate the URL path.\n\n## Setting your own \"alphabet\"\n\nBy default, only alphanumeric characters are used for generating URL paths. If you would like a different set. Just call _set\\_alphabet_, passing in your string of desired characters, just after loading the module.\n\n## Example\n\nSee my open source URL shortener, [wiqr](http://github.com/JonAbrams/wiqr), written for node.js.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonabrams%2Fnode-shorty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonabrams%2Fnode-shorty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonabrams%2Fnode-shorty/lists"}