{"id":14973919,"url":"https://github.com/jali/flask-urlshortener","last_synced_at":"2025-10-27T05:30:51.512Z","repository":{"id":29911022,"uuid":"33456851","full_name":"jali/flask-urlshortener","owner":"jali","description":"Python flask URL shortener with i18n support","archived":false,"fork":false,"pushed_at":"2025-01-08T20:36:32.000Z","size":1363,"stargazers_count":2,"open_issues_count":1,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-01T02:04:22.169Z","etag":null,"topics":["app","base60","flask","full-stack","fullstack","i18n","psql","python","python-flask","shortener","translation","url","url-shortener","urlshortener"],"latest_commit_sha":null,"homepage":"","language":"Python","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/jali.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-05T22:07:05.000Z","updated_at":"2024-10-29T18:22:37.000Z","dependencies_parsed_at":"2023-12-19T15:18:37.813Z","dependency_job_id":"88c5bd1d-a482-4ace-a909-320bee6262c9","html_url":"https://github.com/jali/flask-urlshortener","commit_stats":{"total_commits":69,"total_committers":3,"mean_commits":23.0,"dds":0.1594202898550725,"last_synced_commit":"d4fa52b6fc4787e254e190a24583f480db78ab54"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jali%2Fflask-urlshortener","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jali%2Fflask-urlshortener/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jali%2Fflask-urlshortener/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jali%2Fflask-urlshortener/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jali","download_url":"https://codeload.github.com/jali/flask-urlshortener/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238437601,"owners_count":19472443,"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":["app","base60","flask","full-stack","fullstack","i18n","psql","python","python-flask","shortener","translation","url","url-shortener","urlshortener"],"created_at":"2024-09-24T13:49:40.950Z","updated_at":"2025-10-27T05:30:51.058Z","avatar_url":"https://github.com/jali.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# URL Shortener\n----------------\nTravis CI Status [![Build Status](https://travis-ci.org/jali/flask-urlshortener.svg?branch=master)](https://travis-ci.org/jali/flask-urlshortener)\n\nThis is a service that takes long URL and squeezes it into short characters to make a link that is easier to share, tweet, or email to friends.\n\nThe app is using python flask, bootstrap and postgresql database.\n\nThis service supports internationalization (i18n) such as English, German (Deutsch) and Arabic (عربي)\n\n\nInstallation:\n-------------\nCreate your postgres database.\nAs per config.py setting the database name is: urls\n\n\t$ su - postgres\n\t$ psql\n\t$ CREATE DATABASE urls;\n\nFollow the steps below:\n\n\t$ git clone https://github.com/jali/flask-urlshortener\n\t$ cd flask-urlshortener\n\t$ workon \u003cyour virtual environment\u003e\n\t$ export APP_SETTINGS=\"config.DevelopmentConfig\"\n\nAdd your psql to your machine's path\n\n*Example for psql on Mac OS X*\n\n\texport PATH=/Applications/Postgres.app/Contents/Versions/9.4/bin:$PATH\n\t\nContinue by executing the folowing commands:\n\n\t$ pip install -r requirements.txt\n\t$ python db_create.py\n\nRun the tests:\n--------------\n\t$ python manage.py test\n\t\n\nTo run the app:\n---------------\n\t$ python web.py\n\nGoto: [http://localhost:8081](http://localhost:8081)\n\nOR you can use runserver like this:\n\n\t$ python manage.py runserver\nThen goto: [http://localhost:5000](http://localhost:5000)\n\n\nUpdate translation:\n-------------------\nIf you change text or values, you need to run the following inside your vitrual env.\n\t\n\t$ pybabel update -i messages.pot -d coreapp/translations\n\t$ pybabel compile -d coreapp/translations\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjali%2Fflask-urlshortener","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjali%2Fflask-urlshortener","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjali%2Fflask-urlshortener/lists"}