{"id":16423906,"url":"https://github.com/oliveroneill/wilt","last_synced_at":"2026-01-19T23:33:15.377Z","repository":{"id":38809387,"uuid":"150836241","full_name":"oliveroneill/wilt","owner":"oliveroneill","description":"Firebase project for viewing Wilt user play history","archived":false,"fork":false,"pushed_at":"2023-01-09T11:30:47.000Z","size":3484,"stargazers_count":1,"open_issues_count":10,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-08T05:43:19.796Z","etag":null,"topics":["cypress","cypress-io","firebase","firestore","plotly","semantic-ui"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/oliveroneill.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}},"created_at":"2018-09-29T07:13:47.000Z","updated_at":"2020-06-08T06:00:44.000Z","dependencies_parsed_at":"2022-08-30T15:01:47.516Z","dependency_job_id":null,"html_url":"https://github.com/oliveroneill/wilt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oliveroneill/wilt","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliveroneill%2Fwilt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliveroneill%2Fwilt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliveroneill%2Fwilt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliveroneill%2Fwilt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oliveroneill","download_url":"https://codeload.github.com/oliveroneill/wilt/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oliveroneill%2Fwilt/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28589991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-19T20:45:59.482Z","status":"ssl_error","status_checked_at":"2026-01-19T20:45:41.500Z","response_time":67,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cypress","cypress-io","firebase","firestore","plotly","semantic-ui"],"created_at":"2024-10-11T07:41:16.116Z","updated_at":"2026-01-19T23:33:15.358Z","avatar_url":"https://github.com/oliveroneill.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wilt - What I Listen To\n\n[![Build Status](https://travis-ci.org/oliveroneill/wilt.svg?branch=master)](https://travis-ci.org/oliveroneill/wilt)\n\nA project for tracking user's listening habits.\n\nThis repository contains:\n- A browser client for diplaying metrics (in `public/`)\n- A server-side API for helping clients query the database (in `functions/`).\n\nThis will display a timeline of play history for the specified user.\nInspired by [LastWave](https://github.com/taurheim/LastWave).\n\nClients:\n- iOS: [Github](https://github.com/oliveroneill/wilt-ios)\n- Android: [Github](https://github.com/oliveroneill/wilt-android)\n- Browser (here, see `public/`)\n\n## Installation\nCreate a `constants.js` file to specify the Google Cloud Functions backend and\nusername that you want to query on.\nFormat is:\n```javascript\n// Firebase config\nconst firebaseConfig = {\n  apiKey: '\u003cENTER-FIREBASE-API-KEY\u003e',\n  authDomain: '\u003cAUTH-DOMAIN\u003e',\n  projectId: '\u003cFIREBASE-PROJECT-ID\u003e',\n};\n\n// Spotify config\nconst spotifyConfig = {\n  clientId: '\u003cENTER-SPOTIFY-CLIENT-ID\u003e',\n  redirectUri: '\u003cENTER-SPOTIFY-REDIRECT-URI\u003e',\n};\n```\n\nSet firebase function configuration:\n```bash\nfirebase functions:config:set spotify.client_id=\"\u003cENTER-SPOTIFY-CLIENT-ID\u003e\" spotify.client_secret=\"\u003cENTER-SPOTIFY-CLIENT-SECRET\u003e\"\n```\n\n## Setup\nThis project uses BigQuery, Firestore and Firebase Authentication.\n\n### BigQuery\nYou'll need to create a BigQuery table called `wilt_play_history.play_history`.\n\n#### Table Columns\nplay_history (BigQuery): user_id, date, artists, name, primary_artist, track_id\n\nusers (FireStore): access_token, expires_at, refresh_token\n\n### FireStore\nYou'll need to create a table called `users`.\n\n### WiltCollector\n\nIn order to periodically collect metrics from users, you'll also need\nto set up [WiltCollector](https://github.com/oliveroneill/WiltCollector).\nThe README instructions will help you set this up with AWS Lambda.\n\n## Testing\n```bash\nnpm test\n```\nTests are run using [cypress](https://www.cypress.io/).\nTo use the UI run `npm run cypress:open`, however for some reason the\nvisual regression tests will fail when run via the UI - I'm still investigating\nthis.\n\nNOTE: the timezone for the tests is `Australia/Sydney`. This is a limitation of\ncypress, documented [here](https://github.com/cypress-io/cypress/issues/1043).\nTravis has been setup with this timezone.\n\nThe base snapshots were run on macOS and don't lineup the same when compared to\nLinux. Potentially we should add different snapshots for each platform.\n\n## Screenshot\nThe current graph is a stacked area graph for artist plays per week for a\nspecific user. Note: when you hover over points it will show *some*\npoints, however it won't show all of them.\n\n![My play history](screenshot.png)\n\n## TODO\n- Testing around login page\n- Better annotation placement\n- Fix hover labels not showing every point\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foliveroneill%2Fwilt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foliveroneill%2Fwilt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foliveroneill%2Fwilt/lists"}