{"id":23485515,"url":"https://github.com/yuler/rails-shortener","last_synced_at":"2025-04-14T05:45:45.772Z","repository":{"id":206111490,"uuid":"715696094","full_name":"yuler/rails-shortener","owner":"yuler","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-27T10:55:47.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T12:13:19.488Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/yuler.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2023-11-07T16:44:18.000Z","updated_at":"2024-07-19T01:31:53.000Z","dependencies_parsed_at":"2024-02-27T12:01:49.808Z","dependency_job_id":null,"html_url":"https://github.com/yuler/rails-shortener","commit_stats":null,"previous_names":["yuler/rails_shortener"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Frails-shortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Frails-shortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Frails-shortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yuler%2Frails-shortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yuler","download_url":"https://codeload.github.com/yuler/rails-shortener/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830425,"owners_count":21168272,"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-12-24T22:13:16.396Z","updated_at":"2025-04-14T05:45:45.751Z","avatar_url":"https://github.com/yuler.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rails shortener\n\n\u003e A url shortener power by rails, \u003chttps://yuler.cc\u003e\n\n## Stack\n\n- Deploy by [kamal](https://kamal-deploy.org/)\n\n## Note\n\n- This repo is for learn rails from [Build a URL Shortener with Rails 7](https://gorails.com/series/build-a-url-shortener-with-rails-7). [YouTube](https://www.youtube.com/watch?v=XHRUjXUcr04\u0026list=PLm8ctt9NhMNXOBboD4FvLdZU_Cner2uk0\u0026index=1), [Source Code](https://github.dev/gorails-screencasts/url-shortener)\n\n## Related\n\n- \u003chttps://github.com/steven-tey/dub\u003e\n- \u003chttps://github.com/thedevs-network/kutt\u003e\n- \u003chttps://github.com/nelsontky/gh-pages-url-shortener\u003e\n- \u003chttps://github.com/formkit/shorten\u003e\n\n## Kamal\n\n```bash\nkamal app exec -i 'bin/rails console'\n```\n\n## API\n\n```bash\nTOKEN=xxx # https://yuler.cc/djtjA6bOM1\ncurl -X POST -H \"Content-Type: application/json\" -H \"Authorization: Bearer $TOKEN\" -d '{\"link\": {\"url\": \"https://github.com/yuler\"}}' https://yuler.cc/api/links\ncurl -H \"Authorization: Bearer $TOKEN\" https://yuler.cc/api/links\n```\n\n## TODO\n\n- [ ] Fix cookies['link_form_url'] not work\n- [ ] Design Home Page\n- [ ] Add widget for other site embed\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuler%2Frails-shortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuler%2Frails-shortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuler%2Frails-shortener/lists"}