{"id":21206623,"url":"https://github.com/oncomouse/short-link","last_synced_at":"2025-08-01T20:35:24.004Z","repository":{"id":149628458,"uuid":"12139997","full_name":"oncomouse/short-link","owner":"oncomouse","description":"Domain referral management.","archived":false,"fork":false,"pushed_at":"2013-08-17T17:19:15.000Z","size":500,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-21T15:48:39.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oncomouse.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-08-15T17:53:19.000Z","updated_at":"2013-10-04T20:30:36.000Z","dependencies_parsed_at":"2023-04-01T06:06:59.250Z","dependency_job_id":null,"html_url":"https://github.com/oncomouse/short-link","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/oncomouse%2Fshort-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncomouse%2Fshort-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncomouse%2Fshort-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oncomouse%2Fshort-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oncomouse","download_url":"https://codeload.github.com/oncomouse/short-link/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243658270,"owners_count":20326467,"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-20T20:56:15.212Z","updated_at":"2025-03-14T23:14:13.684Z","avatar_url":"https://github.com/oncomouse.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"short-link\n==========\n\nShort link is a [Padrino](http://www.padrinorb.com/) application that sits on a top-level domain and does what I'm calling \"smart referrals\". Basically, when any request comes in, short-link goes through the following steps:\n\n1. Is this an admin request?\n1. Is this a request I know about in my database?\n1. Forward the request to another domain.\n\nI created this application because I wanted more nuanced control over the way a mobile friendly domain referred to my longer domain (in my case, from http://atp1.us to http://andrew.pilsch.com). Basically, this site lets you create custom referrals, such that http://shortdomain.com/X can forward to wherever you want.\n\nInstallation\n------------\n\nAfter cloning, run the following commands:\n\n(Note, if you're using Ruby 1.8.X, change the line `gem 'redcarpet'` to `gem 'redcarpet', '2.3.0'`).\n\n````\nbundle install\n````\n\n````\npadrino rake db:migrate\n````\n\n````\npadrino rake db:seed\n````\n\nAfter these commands, you need to edit the file `app/app.rb` and change the line `@@default_url = \"http://andrew.pilsch.com\"` to whatever your default, long URL will be. After that, you should be ready to go.\n\nTo start the application, you can run:\n\n````\npadrino start\n````\n\nFor more information on deploying this software, see [Padrino's documentation](http://www.padrinorb.com/guides/blog-tutorial#deploying-our-application) for how to deploy your application.\n\nUsage\n-----\n\nThe application is driven through the `/admin` interface. When running in development mode (`padrino start`), you can point your browser to http://localhost:3000/admin and log in with the credentials you created when running `rake db:seed`. You can click the \"Links\" link and then click the \"New\" tab to begin creating your referrals.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foncomouse%2Fshort-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foncomouse%2Fshort-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foncomouse%2Fshort-link/lists"}