{"id":19596702,"url":"https://github.com/croaky/shorty","last_synced_at":"2025-04-27T15:35:19.538Z","repository":{"id":1017428,"uuid":"844980","full_name":"croaky/shorty","owner":"croaky","description":"URL shortener written in Sinatra \u0026 MongoDB","archived":false,"fork":false,"pushed_at":"2014-08-16T22:09:45.000Z","size":142,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-02-15T02:32:08.676Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/croaky.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":"2010-08-17T22:55:03.000Z","updated_at":"2021-01-30T15:48:06.000Z","dependencies_parsed_at":"2022-07-06T02:00:41.183Z","dependency_job_id":null,"html_url":"https://github.com/croaky/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/croaky%2Fshorty","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croaky%2Fshorty/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croaky%2Fshorty/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/croaky%2Fshorty/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/croaky","download_url":"https://codeload.github.com/croaky/shorty/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251163076,"owners_count":21545871,"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-11T08:54:45.008Z","updated_at":"2025-04-27T15:35:14.513Z","avatar_url":"https://github.com/croaky.png","language":"Ruby","funding_links":[],"categories":["Internet Application Clones"],"sub_categories":[],"readme":"Shorty\n======\n\nA URL shortener written in Sinatra and MongoDB.\n\nMongo\n-----\n\nFollow the [Ruby tutorial](http://www.mongodb.org/display/DOCS/Ruby+Tutorial) to learn how to interact with Mongo with Ruby.\n\nHosting\n-------\n\nI recommend using [Heroku](http://heroku.com) for the app and [MongoHQ](http://mongohq.com) for storage.\n\nFeature\n-------\n\n    Feature 'Shorten URL' do\n      Given 'I am on the homepage' do\n        visit '/'\n      end\n\n      When 'I submit http://dancroak.com' do\n        fill_in      'url', :with =\u003e 'http://dancroak.com'\n        click_button 'shorten'\n      end\n\n      Then 'I should see a short link' do\n        assert_have_selector 'a#short'\n      end\n\n      When 'I follow the short link' do\n        click_link 'short'\n      end\n\n      Then 'I should be on http://dancroak.com' do\n        assert_equal 'http://dancroak.com', current_url\n      end\n    end\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroaky%2Fshorty","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcroaky%2Fshorty","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcroaky%2Fshorty/lists"}