{"id":16352196,"url":"https://github.com/yonka2019/web-docker-slinker","last_synced_at":"2025-11-19T01:30:15.776Z","repository":{"id":138982660,"uuid":"588125850","full_name":"yonka2019/web-docker-slinker","owner":"yonka2019","description":"Short-linker (Docker version)","archived":false,"fork":false,"pushed_at":"2023-06-24T19:11:54.000Z","size":148,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-28T17:52:35.673Z","etag":null,"topics":["containers","docker","python","server","url"],"latest_commit_sha":null,"homepage":"","language":"Python","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/yonka2019.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,"publiccode":null,"codemeta":null}},"created_at":"2023-01-12T11:43:34.000Z","updated_at":"2023-07-13T01:28:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"5b642d56-90eb-4925-98b8-314f9ac33039","html_url":"https://github.com/yonka2019/web-docker-slinker","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/yonka2019%2Fweb-docker-slinker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonka2019%2Fweb-docker-slinker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonka2019%2Fweb-docker-slinker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yonka2019%2Fweb-docker-slinker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yonka2019","download_url":"https://codeload.github.com/yonka2019/web-docker-slinker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239619603,"owners_count":19669447,"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":["containers","docker","python","server","url"],"created_at":"2024-10-11T01:25:17.276Z","updated_at":"2025-11-19T01:30:15.614Z","avatar_url":"https://github.com/yonka2019.png","language":"Python","readme":"# Short-linker (Docker version)\nURL shortener python server. The server have an endpoint that gets the long URL and returns a short URL.\n\nIn addition, this project deals with:\n\n### SQLite \nLocal database to save short-links in\n### Redis \nCache, to reduce the load. Removes the less recently used keys when the max memory limit (100 MB) is reached\n### RabbitMQ\nFor every new URL, produces a message rabbitmq. Then, the consumer sends mail to server admin\n\n## Usage example:\n```\nx = requests.post('http://127.0.0.1:4321',\njson={'url': 'https://thatscool/veryveryverylongurl'})\n\n# x = 127.0.0.1:4321/(hashed-shortlink-key)\n```\n\n- Support for browsing the short URLs. The server redirect the user to the real URL.\n\n\n## Separated containers (works via Docker Compose):\n- Python server container (**web-slink**)\n- Database container (**db-slink**)\n- Cache container *[redis]* (**cache-slink**)\n- Message producer container *[rabbitmq]* (**msg-p-slink**)\n- Message consumer container *[rabbitmq]* (**msg-c-slink**)\n\n# Preview\n![Screenshot preview](https://github.com/yonka2019/web-docker-slinker/blob/master/Screenshots/preview.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonka2019%2Fweb-docker-slinker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyonka2019%2Fweb-docker-slinker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyonka2019%2Fweb-docker-slinker/lists"}