{"id":13741027,"url":"https://github.com/mjoerussell/onenightonearth","last_synced_at":"2025-05-08T21:32:20.853Z","repository":{"id":38261819,"uuid":"301905277","full_name":"mjoerussell/onenightonearth","owner":"mjoerussell","description":"An interactive star map, written in Typescript and WebAssembly using Zig","archived":false,"fork":false,"pushed_at":"2024-01-19T23:46:22.000Z","size":33580,"stargazers_count":11,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-08-04T04:07:21.128Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Zig","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/mjoerussell.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2020-10-07T02:19:26.000Z","updated_at":"2024-07-25T15:54:36.000Z","dependencies_parsed_at":"2024-01-19T22:41:06.410Z","dependency_job_id":"1f533232-97fe-47dd-9491-30073bf16bff","html_url":"https://github.com/mjoerussell/onenightonearth","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/mjoerussell%2Fonenightonearth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjoerussell%2Fonenightonearth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjoerussell%2Fonenightonearth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mjoerussell%2Fonenightonearth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mjoerussell","download_url":"https://codeload.github.com/mjoerussell/onenightonearth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224774579,"owners_count":17367756,"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":[],"created_at":"2024-08-03T04:00:54.648Z","updated_at":"2025-05-08T21:32:20.847Z","avatar_url":"https://github.com/mjoerussell.png","language":"Zig","funding_links":[],"categories":["Applications"],"sub_categories":[],"readme":"# One Night on Earth\r\n\r\nOne Night on Earth is an interactive star map. This is not meant to be a scientific tool, it's simply a fun interactive experience.\r\n\r\nOne Night on Earth is written in Typescript and Zig.\r\n\r\n[**onenightonearth.com**](https://onenightonearth.com)\r\n\r\n## Controls\r\n\r\nThe controls currently available on the site are:\r\n\r\n1. Change Date - Update the date that the sky is simulated for\r\n2. Change Location - Enter a new latitude and/or longitude, then click 'Update Location' to move the simulation to the desired coordinates.\r\n3. 'Use My Location' - Navigate to your current location.\r\n4. 'Time Travel' - Click this button to start automatically advancing the date. Click again to stop.\r\n5. Drag and Move - Click and drag on the map to move the sky. Your updated coordinates will be populated in the 'Latitude' and 'Longitude' fields.\r\n6. Zoom - Scroll with your mouse while hovering over the map to zoom in/out.\r\n\r\n## Running Locally\r\n\r\nThere are a few steps to get started:\r\n\r\n**Pre-Requisites**\r\n\r\n- Zig - See [Zig on GitHub](https://github.com/ziglang/zig) for more instructions.\r\n- Node - See https://nodejs.org/en/download/\r\n\r\nRun `zig build` to build the project, `zig build run` to build the project and start the server.\r\n\r\nNow you're ready! Visit `localhost:8080` to view the site.\r\n\r\nIf you want to have hotreloading enabled for the frontend, you can run `npm run watch` alongside the server.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjoerussell%2Fonenightonearth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmjoerussell%2Fonenightonearth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmjoerussell%2Fonenightonearth/lists"}