{"id":19762658,"url":"https://github.com/opensooq/gloom","last_synced_at":"2025-04-30T14:31:09.176Z","repository":{"id":90375723,"uuid":"93777793","full_name":"OpenSooq/Gloom","owner":"OpenSooq","description":"Gloom is a service to create short URLs that can be easily shared, tweeted, or emailed to friends.","archived":false,"fork":false,"pushed_at":"2018-04-11T15:16:39.000Z","size":851,"stargazers_count":7,"open_issues_count":0,"forks_count":4,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-10-29T16:21:46.989Z","etag":null,"topics":["mongodb","shorten-urls"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/OpenSooq.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}},"created_at":"2017-06-08T18:03:45.000Z","updated_at":"2023-08-02T10:39:03.000Z","dependencies_parsed_at":"2023-03-15T23:30:35.519Z","dependency_job_id":null,"html_url":"https://github.com/OpenSooq/Gloom","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/OpenSooq%2FGloom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenSooq%2FGloom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenSooq%2FGloom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenSooq%2FGloom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenSooq","download_url":"https://codeload.github.com/OpenSooq/Gloom/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224214135,"owners_count":17274524,"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":["mongodb","shorten-urls"],"created_at":"2024-11-12T04:06:10.331Z","updated_at":"2024-11-12T04:06:10.981Z","avatar_url":"https://github.com/OpenSooq.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u003cp align=\"center\"\u003eGloom - Opensooq URL shortener\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg alt=\"Admin\" src=\"https://opensooqui2.os-cdn.com/gloom.png\"\u003e\u003c/p\u003e\n\nGloom allows you to shorten URLs just as you would on your domain. Users can create these short links through the web interface For example, to shorten the URL http://www.google.com/, access UI admin:\n\n\u003cp align=\"center\"\u003e\u003cimg alt=\"Admin\" src=\"https://opensooqui2.os-cdn.com/gloom-moving.gif\"\u003e\u003c/p\u003e\n\nPut your url then submit, you will see the shortner url.\n\nor they can programatically create them through the Gloom API. With the Gloom API you can write applications that use simple HTTP methods to create short links from desktop, mobile, or web.\n\n## API Doc\n```\nAPI : /shorten\nMethod : POST\nParams : longURL\n```\n\nFor instance, you could issue the following curl command (POST request):\n\n```\ncurl https://YourDomain/shorten \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"longUrl\": \"http://www.google.com/\"}'\n```\nIf successful, the response will look like:\n\n```javascript\n{ \n  shorten: \"XXX\",\n  link : \"XXXXXXX\"\n}\n```\n-------------------------------------------------------------------------------------\n\nLinks that users create through the Gloom can also open directly in your mobile applications that can handle those links. This automatic behavior provides the best possible experience to your app users who open your domain links, no matter what platform or device they are on.\n\nThis project running by [Python](https://www.python.org/) with [MongoDB](https://www.mongodb.com/) as a backend and done using [BottlePy](https://github.com/bottlepy/bottle) and [uPyApp](https://github.com/muayyad-alsadi/uPyApp)\n\n## Installation\n\n1. You need a domian to use it for shorting URL\n2. Install MongoDB\n3. You need `pymongo3`\n\n```\nvirtualenv --system-site-packages virtualenv\nsource virtualenv/bin/activate\npip install bottle\n```\n\n## Configuration\n\n```\ncp example/{uwsgi.ini,app.ini} ./\n```\n\nThen edit those two files. For dev env use \n\n```\ncp example/uwsgi-dev.ini ./uwsgi.ini\n```\n\n## Setup Database\n\n```\n./cli migrate\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensooq%2Fgloom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensooq%2Fgloom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensooq%2Fgloom/lists"}