{"id":23743198,"url":"https://github.com/y2kforever/random-bar","last_synced_at":"2026-02-17T23:34:08.197Z","repository":{"id":208482580,"uuid":"523007830","full_name":"Y2KForever/random-bar","owner":"Y2KForever","description":"WebApp to randomize a bar near you","archived":false,"fork":false,"pushed_at":"2024-12-14T12:15:57.000Z","size":1425,"stargazers_count":2,"open_issues_count":9,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-07T16:59:28.461Z","etag":null,"topics":["alcohol","aws","google-maps-api","maps"],"latest_commit_sha":null,"homepage":"https://random-bar.niklashansen.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Y2KForever.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2022-08-09T15:31:27.000Z","updated_at":"2024-09-12T13:06:30.000Z","dependencies_parsed_at":"2024-09-12T22:49:45.792Z","dependency_job_id":null,"html_url":"https://github.com/Y2KForever/random-bar","commit_stats":null,"previous_names":["y2kforever/random-bar"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Y2KForever/random-bar","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y2KForever%2Frandom-bar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y2KForever%2Frandom-bar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y2KForever%2Frandom-bar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y2KForever%2Frandom-bar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Y2KForever","download_url":"https://codeload.github.com/Y2KForever/random-bar/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Y2KForever%2Frandom-bar/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279182293,"owners_count":26121154,"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","status":"online","status_checked_at":"2025-10-16T02:00:06.019Z","response_time":53,"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":["alcohol","aws","google-maps-api","maps"],"created_at":"2024-12-31T11:59:14.376Z","updated_at":"2025-10-16T11:11:45.861Z","avatar_url":"https://github.com/Y2KForever.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ca href=\"https://random-bar.niklashansen.dev\"\u003e\n  \u003cimg align=\"right\" width=\"50\" height=\"50\" style=\"margin-bottom:50px;\" src=\"https://random-bar.niklashansen.dev/assets/pin-3.8ca7dbdb.svg\" /\u003e\n\u003c/a\u003e\n\n# Random bar\nRandom bar is a web application built with Vite, React and Google Maps.\n\n[![Deploy](https://github.com/Y2KForever/random-bar/actions/workflows/workflow.yml/badge.svg?branch=main)](https://github.com/Y2KForever/random-bar/actions/workflows/workflow.yml)\n\u003cp\u003e\n\u003cimg src=\"https://img.shields.io/badge/Amazon_AWS-FF9900?style=for-the-badge\u0026logo=amazonaws\u0026logoColor=white\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/React-20232A?style=for-the-badge\u0026logo=react\u0026logoColor=61DAFB\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Vite-B73BFE?style=for-the-badge\u0026logo=vite\u0026logoColor=FFD62E\" /\u003e\n\u003c/p\u003e\n\n\n## Introduction\n\n![Example of how it looks when the application finds a bar](https://random-bar.niklashansen.dev/linking.png)\n\n- Bases search result on your current location or selected location.\n- 100% self-hosted, all you need is an API key from Google.\n- Can be deployed through Github Actions.\n\n## Setup\n-  [Start by generating a API Key](https://console.cloud.google.com/apis/credentials)\n-  Make sure the API key has access to:\n    - Geocoding API\n    - Geolocation API\n    - Maps JavaScript API\n    - Places API \n- create a .env file:\n    - VITE_GOOGLE_MAPS_API_KEY_DEV=YOUR_API_KEY_DEV\n    - VITE_GOOGLE_MAPS_API_KEY_PROD=YOUR_API_KEY_PROD\n\n## Deploy with Github Actions\nThe current workflow is configured with AWS, if you want to use something else, you'll have to setup your own workflow.\n\nCurrent workflow includes:\n  - Deployment to S3\n  - Invalidation of distribution on Cloudfront\n  \n To start using the current workflow, you'll have to setup a IAM user with access to the specific s3-bucket and distribution id for Cloudfront.\n\nYou'll also need to set these Github Action secrets:\n  - AWS_ACCESS_KEY_ID\n  - AWS_REGION\n  - AWS_SECRET_ACCESS_KEY\n  - DISTRIBUTION_ID\n  - VITE_GOOGLE_MAPS_API_KEY_PROD\n  - S3_BUCKET_NAME\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy2kforever%2Frandom-bar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fy2kforever%2Frandom-bar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fy2kforever%2Frandom-bar/lists"}