{"id":26874126,"url":"https://github.com/umuttopalak/quick-link","last_synced_at":"2026-05-14T21:35:03.917Z","repository":{"id":271974981,"uuid":"915053163","full_name":"umuttopalak/quick-link","owner":"umuttopalak","description":"URL Shortener","archived":false,"fork":false,"pushed_at":"2025-05-04T15:27:13.000Z","size":69,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-10T06:40:57.462Z","etag":null,"topics":["authentication","flask","flask-template","url-shortener"],"latest_commit_sha":null,"homepage":"https://quick-link.umuttopalak.com","language":"HTML","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/umuttopalak.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-01-10T21:33:38.000Z","updated_at":"2025-05-04T15:27:17.000Z","dependencies_parsed_at":"2025-03-31T09:33:59.870Z","dependency_job_id":"6824a38b-58f4-4b19-b65b-48625447d27f","html_url":"https://github.com/umuttopalak/quick-link","commit_stats":null,"previous_names":["umuttopalak/quick-link"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/umuttopalak/quick-link","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fquick-link","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fquick-link/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fquick-link/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fquick-link/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umuttopalak","download_url":"https://codeload.github.com/umuttopalak/quick-link/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umuttopalak%2Fquick-link/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33044212,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["authentication","flask","flask-template","url-shortener"],"created_at":"2025-03-31T09:33:55.273Z","updated_at":"2026-05-14T21:35:03.901Z","avatar_url":"https://github.com/umuttopalak.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Quick Link - URL Shortener\n\nA modern URL shortener application built with Flask, supporting multiple languages and user authentication with Firebase/Google Sign-In.\n\n## Features\n\n- URL shortening functionality\n- User authentication (login/register)\n- Google Sign-In support via Firebase\n- Multi-language support (English and Turkish)\n- Click tracking for shortened URLs\n- Responsive design\n- Docker support\n\n## Tech Stack\n\n- Python 3.9\n- Flask\n- SQLAlchemy\n- Flask-Login for authentication\n- Firebase for Google authentication\n- Flask-Babel for internationalization\n- SQLite database (configurable to other databases)\n- Docker\n\n## Setup\n\n1. Clone the repository:\n```bash\ngit clone [repository-url]\ncd quick-link\n```\n\n2. Create and activate virtual environment:\n```bash\npython -m venv venv\nsource venv/bin/activate  # On Windows: venv\\Scripts\\activate\n```\n\n3. Install dependencies:\n```bash\npip install -r requirements.txt\n```\n\n4. Firebase Configuration:\n   - Create a new project in [Firebase Console](https://console.firebase.google.com/)\n   - Set up Authentication and enable Google Sign-In\n   - Create a web app and get your Firebase configuration\n   - Download service account JSON file and save as `firebase-credentials.json` in project root\n\n5. Set up environment variables (create .env file):\n```bash\n# Application Settings\nSECRET_KEY=your-secret-key-here\nBABEL_DEFAULT_LOCALE=tr\nTIMEZONE=Europe/Istanbul\n\n# Database Settings\nDATABASE_URL=sqlite:///urls.db\n\n# Firebase Configuration\nFIREBASE_CREDENTIALS_PATH=firebase-credentials.json\nFIREBASE_WEB_API_KEY=your-firebase-web-api-key\nFIREBASE_AUTH_DOMAIN=your-app.firebaseapp.com\nFIREBASE_PROJECT_ID=your-project-id\nFIREBASE_STORAGE_BUCKET=your-app.firebasestorage.app\nFIREBASE_MESSAGING_SENDER_ID=your-sender-id\nFIREBASE_APP_ID=1:your-app-id:web:your-app-hash\nFIREBASE_MEASUREMENT_ID=G-MEASUREMENT-ID\n```\n\n6. Initialize the database:\n```bash\nflask db upgrade\n```\n\n7. Run the application:\n```bash\nflask run\n```\n\n## Docker Deployment\n\nBuild and run the application using Docker:\n\n```bash\ndocker build -t quick-link .\ndocker run -p 3000:3000 quick-link\n```\n\n## Docker-Compose Deployment\n\nBuild and run the application using Docker-Compose:\n\n```bash\ndocker compose up --build\n```\n\n## Internationalization\n\nThe application supports English and Turkish languages. To compile translation files:\n\n```bash\npybabel compile -d app/translations\n```\n\nTo extract new strings for translation:\n\n```bash\npybabel extract -F babel.cfg -o messages.pot .\n```\n\n## Production Deployment\n\n### Firebase Credentials in Production\n\nFor security reasons, `firebase-credentials.json` should never be committed to your repository. In production environments, there are two recommended approaches:\n\n1. **Environment Variable (Recommended):**\n   - Convert your `firebase-credentials.json` file to a string:\n     ```bash\n     cat firebase-credentials.json | jq -c\n     ```\n   - Set this entire JSON string as the `FIREBASE_CREDENTIALS_JSON` environment variable in your production environment\n   - The application is configured to read credentials from this environment variable first\n\n2. **Secure File Upload:**\n   - Securely upload the `firebase-credentials.json` file to your production server (outside of the repository)\n   - Set the `FIREBASE_CREDENTIALS_PATH` environment variable to point to this file location\n\nFor hosting platforms (Heroku, Vercel, etc.), use their built-in environment variable configuration systems through their dashboard or CLI.\n\n## License\n\nMIT License. See [LICENSE](LICENSE) for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumuttopalak%2Fquick-link","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumuttopalak%2Fquick-link","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumuttopalak%2Fquick-link/lists"}