{"id":23181025,"url":"https://github.com/nktkln/shorturlgenerator","last_synced_at":"2026-04-11T03:15:34.229Z","repository":{"id":41822486,"uuid":"395545568","full_name":"NKTKLN/ShortURLGenerator","owner":"NKTKLN","description":"A simple link shortener with registration is made to be parsed in a course of video lessons.","archived":false,"fork":false,"pushed_at":"2022-04-27T23:01:46.000Z","size":93,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T11:14:28.303Z","etag":null,"topics":["docker","email-sender","gin","golang","letsencrypt","nginx","postgresql","python","redis","telegram-bot"],"latest_commit_sha":null,"homepage":"https://shurl.ml","language":"Go","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/NKTKLN.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":"2021-08-13T06:39:14.000Z","updated_at":"2023-07-24T19:00:40.000Z","dependencies_parsed_at":"2022-08-11T18:40:10.967Z","dependency_job_id":null,"html_url":"https://github.com/NKTKLN/ShortURLGenerator","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/NKTKLN%2FShortURLGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NKTKLN%2FShortURLGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NKTKLN%2FShortURLGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NKTKLN%2FShortURLGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NKTKLN","download_url":"https://codeload.github.com/NKTKLN/ShortURLGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280270,"owners_count":20912967,"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":["docker","email-sender","gin","golang","letsencrypt","nginx","postgresql","python","redis","telegram-bot"],"created_at":"2024-12-18T08:14:14.618Z","updated_at":"2025-12-30T20:24:53.991Z","avatar_url":"https://github.com/NKTKLN.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Short URL Generator (shurl.ml)\n\nThis is a simple project for understanding how to work with GIN, PostgresSQL and Redis in golang. There is a Russian version of this project on YouTube for more clarification.\n\nPlaylist: [click](https://youtube.com/)\n\n## Running this on the server\n\n### Prerequisites\n\n- [Docker CE](https://docs.docker.com/engine/install/)\n- [Docker Compose](https://docs.docker.com/compose/install/)\n\n### Edit this in the env/app.env\n\n```\nVIRTUAL_HOST=yourdomain.com\nLETSENCRYPT_HOST=yourdomain.com\nLETSENCRYPT_EMAIL=your@mail.com\n```\n\n### Edit this in the env/email.env\n\n```\nSENDER_EMAIL=your@mail.com\nEMAIL_PASSWORD=mysecretpassword\nSMTP_ADDRESS=smtp.google.ru\n```\n\n### Edit this in the env/bot.env\n\nYou can get the token for the bot [here](https://t.me/BotFather).\n\n```\nAPI_TOKEN=0123456789:abcdefghijklmnopqrstuvwxyz123456789\nBOT_USERNAME=mybotname_bot\n```\n\n### And then run it with this command\n\n```\ndocker-compose up -d --build\n```\n\n## Change the PG administrator's data\n\n### Edit this in the env/pg.env\n\n```\nPOSTGRES_USER=postgres\nPOSTGRES_PASSWORD=mysecretpassword\nPOSTGRES_DB=shorturldb\n```\n\nAnd recreate the container if it has already been created, otherwise run it.\n\n#\n\n### Copyright © 2021 [NKTKLN](https://github.com/NKTKLN).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnktkln%2Fshorturlgenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnktkln%2Fshorturlgenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnktkln%2Fshorturlgenerator/lists"}