{"id":17357065,"url":"https://github.com/jd557/coffee-tracker","last_synced_at":"2025-09-05T10:33:09.895Z","repository":{"id":255408795,"uuid":"847364176","full_name":"JD557/coffee-tracker","owner":"JD557","description":"A simple caffeine tracker app for Android","archived":false,"fork":false,"pushed_at":"2024-08-29T18:44:01.000Z","size":1188,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-24T04:26:52.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JD557.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-08-25T16:06:58.000Z","updated_at":"2024-09-27T15:19:05.000Z","dependencies_parsed_at":null,"dependency_job_id":"a08c1914-b4ca-4852-a8e9-f81e973b6bd0","html_url":"https://github.com/JD557/coffee-tracker","commit_stats":null,"previous_names":["jd557/coffee-tracker"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fcoffee-tracker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fcoffee-tracker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fcoffee-tracker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JD557%2Fcoffee-tracker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JD557","download_url":"https://codeload.github.com/JD557/coffee-tracker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232037321,"owners_count":18463714,"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-10-15T19:00:02.470Z","updated_at":"2024-12-31T23:44:53.728Z","avatar_url":"https://github.com/JD557.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Coffee Tracker\n\nA simple caffeine tracker app for Android, built with Scala.js.\n\n[Blog post](https://blog.joaocosta.eu/articles/8cd240f/writing-an-android-app-with-scalajs)\n\n\u003cdetails\u003e\u003csummary\u003eScreenshot\u003c/summary\u003e\n\u003cimg src=\"screenshot.png\"/\u003e\n\u003c/details\u003e\n\n## Setup instructions\n\nTo run the program in a browser you will need to have yarn (or npm) installed.\n\nBefore your first run and for your tests to work, **you must** install the node dependencies with:\n\n```sh\nyarn install\n```\nWe recommend you have two terminal tabs open:\n\nIn the first, we'll run sbt.\n\n```sh\nsbt\n```\n\nFrom now on, we can recompile the app with `fastLinkJS` or `fullLinkJS`.\n\nRun `fastLinkJS` now to get an initial build in place.\n\nThen start your dev server, with:\n\n```sh\nyarn run start\n```\n\nNow navigate to [http://localhost:1234/](http://localhost:1234/) to see your site running.\n\nIf you leave parcel's dev server running, all you have to do is another `fastLinkJS` and your app running in the browser should hot-reload the new code.\n\n## Android Build\n\nTo run an Android build, first setup the Android environment with `npx cap add android` and `npx cap sync`.\n\nThen, after building a dev bundle with `sbt fastLinkJS` and `yarn run start`, connect your Android device via USB and run `yarn run android`.\n\nTo update the icons and splash screen, run `yarn run generate-assets`.\n\n## Release\n\nTo create a release build, first fill the missing fields in `capacitor.config.json`.\n\nThen run `sbt fullLinkJS`, `yarn run sync` and open the project in android studio with `yarn run android-studio`.\n\nFinally, on the menu choose \"Build \u003e Generate signed App Bundle / APK\" and follow the instructions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd557%2Fcoffee-tracker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjd557%2Fcoffee-tracker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjd557%2Fcoffee-tracker/lists"}