{"id":20122750,"url":"https://github.com/francium/microurl","last_synced_at":"2025-05-06T16:33:04.544Z","repository":{"id":141618190,"uuid":"83917315","full_name":"francium/microurl","owner":"francium","description":"URL shortener written in Python + Flask","archived":true,"fork":false,"pushed_at":"2018-10-09T22:22:28.000Z","size":688,"stargazers_count":12,"open_issues_count":9,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-02T23:08:31.894Z","etag":null,"topics":["flask","python","url-shortener"],"latest_commit_sha":null,"homepage":"http://microurl.ml","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/francium.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":"2017-03-04T19:00:38.000Z","updated_at":"2023-07-05T16:32:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcd26de9-4946-4763-b0a4-0e3ccc805b4b","html_url":"https://github.com/francium/microurl","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/francium%2Fmicrourl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francium%2Fmicrourl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francium%2Fmicrourl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/francium%2Fmicrourl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/francium","download_url":"https://codeload.github.com/francium/microurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252721090,"owners_count":21793750,"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":["flask","python","url-shortener"],"created_at":"2024-11-13T19:40:46.057Z","updated_at":"2025-05-06T16:33:04.536Z","avatar_url":"https://github.com/francium.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Code Climate](https://codeclimate.com/github/francium/microURL/badges/gpa.svg)](https://codeclimate.com/github/francium/microURL)\n\n# micro url\n\nURL shortener written in Python + Flask\n\nRequirements: Python 3, Pip and mariadb (mysql should be supported as well)\n\n## Installation\n\n1. Make sure [Python 3.6+](https://www.python.org/downloads/) is installed.\n2. Install [virtualenv](https://virtualenv.pypa.io/en/stable/).\n\n```\n$ sudo pip install virtualenv\n```\n\n3. Create a virtual environment venv and specify the Python version to use.\n\n```\n$ virtualenv venv -p python3\n$ source venv/bin/activate\n```\n\n4. Install requirements.\n\n```\n$ pip install -r requirements.txt\n```\n\n## Database Configuration\n\nMariaDB or MySQL is required for the rest of the steps.\n\nCreate `.config.json`\n\n```\n{\n    \"user\": \"mysql_user\",\n    \"password\": \"mysql_user's_password\",\n    \"host\": \"mysql_server_ip\",\n    \"db_name\": \"mysql_database\"\n}\n```\n\nCreate table\n\n```\n$ python3 database.py create\n```\n\n## Running\n\nDebug\n\n```\n$ make debug    # Run with flask debugger\n```\n\nRun as application\n\n```\n$ make run      # Run application\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancium%2Fmicrourl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrancium%2Fmicrourl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrancium%2Fmicrourl/lists"}