{"id":22615614,"url":"https://github.com/marcellodesales/myshorturl","last_synced_at":"2025-09-02T18:46:38.424Z","repository":{"id":21326602,"uuid":"24643328","full_name":"marcellodesales/myshorturl","owner":"marcellodesales","description":"A Groovy on Grails application that converts a URL into a short one.","archived":false,"fork":false,"pushed_at":"2014-09-30T17:04:07.000Z","size":308,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-03T10:46:23.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Groovy","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/marcellodesales.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":"2014-09-30T15:22:57.000Z","updated_at":"2014-09-30T15:28:08.000Z","dependencies_parsed_at":"2022-08-28T16:42:01.594Z","dependency_job_id":null,"html_url":"https://github.com/marcellodesales/myshorturl","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/marcellodesales%2Fmyshorturl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fmyshorturl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fmyshorturl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcellodesales%2Fmyshorturl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcellodesales","download_url":"https://codeload.github.com/marcellodesales/myshorturl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246122247,"owners_count":20726822,"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-08T19:08:30.289Z","updated_at":"2025-03-29T00:42:38.305Z","avatar_url":"https://github.com/marcellodesales.png","language":"Groovy","funding_links":[],"categories":[],"sub_categories":[],"readme":"myshorturl\n==========\n\nA Groovy on Grails application that converts a URL into a short one.\n\nUse\n========\n\nJust use Grails and run the app.\n\n```\n$ grails run-app\n```\n\nTo create a new short URL\n\n```\nhttp://localhost:8080/\nEnter URL in the form\n```\n\nIt will give a URL with the short code. Click in the link to get redirected the URL associated with a given code.\n\n```\nhttp://localhost:8080/LCx92d\n```\n\nOrigin\n========\n\nWhen short URLs were very popular. This moved from Google Code.\n\n```\n $ svn2git http://myshorturl.googlecode.com/svn --authors users.txt \n Initialized empty Git repository in /tmp/.git/\nr1 = 1405c6a48787c3e7a4b97bcf504b04433511424d (refs/remotes/svn/trunk)\n\tA\tgrails-project/test/unit/info/marcellodesales/myshorturl/UrlTranslatorTests.groovy\n\tA\tgrails-project/test/integration/UrlTranslationIntegrationTests.groovy\n\tA\tgrails-project/grails-app/i18n/messages.properties\n\tA\tgrails-project/grails-app/i18n/messages_zh_CN.properties\n\tA\tgrails-project/grails-app/i18n/messages_da.properties\n\tA\tgrails-project/grails-app/i18n/messages_ru.properties\n...\n...\n```\n\nThen, git split the repository to remove the upper directory.\n\n```\n$ git subtree split -P grails-project/ -b grails\nCreated branch 'grails'\n77e3a7c3f527d9630a84bbec71942c5e082c8ee6\n```\n\nON a new directory, just pulled the contents from only the split branch.\n\n```\n $ git init\nInitialized empty Git repository in /home/mdesales/dev/github/marcellodesales/myshorturl/.git/\nmdesales@ubuntu ~/dev/github/marcellodesales/myshorturl (master #) $ git pull /tmp/ grails\nremote: Counting objects: 184, done.\nremote: Compressing objects: 100% (104/104), done.\nremote: Total 184 (delta 46), reused 176 (delta 46)\nReceiving objects: 100% (184/184), 167.89 KiB | 0 bytes/s, done.\nResolving deltas: 100% (46/46), done.\nFrom /tmp\n * branch            grails     -\u003e FETCH_HEAD\n\n```\n\nThe rest is here.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcellodesales%2Fmyshorturl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcellodesales%2Fmyshorturl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcellodesales%2Fmyshorturl/lists"}