{"id":25610552,"url":"https://github.com/richarah/steamlapse","last_synced_at":"2026-07-11T21:31:11.727Z","repository":{"id":89437369,"uuid":"606605006","full_name":"richarah/steamlapse","owner":"richarah","description":"Python program pinpointing particular pastimes perpetuating procrastination. Originally made as a practical joke for PVV @ NTNU.","archived":false,"fork":false,"pushed_at":"2023-03-15T16:12:47.000Z","size":97,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-24T21:34:54.507Z","etag":null,"topics":["api","chart","charting","csv","gaming","html","html-css","pil","pillow","procrastination","python","python3","steam","steam-api","visualisation","visualiser","visualization","visualizer"],"latest_commit_sha":null,"homepage":"","language":"Python","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/richarah.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":"2023-02-26T01:31:05.000Z","updated_at":"2025-01-14T17:51:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"f76ff15f-06e7-4a7c-8819-58e22d27df1a","html_url":"https://github.com/richarah/steamlapse","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/richarah/steamlapse","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarah%2Fsteamlapse","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarah%2Fsteamlapse/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarah%2Fsteamlapse/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarah%2Fsteamlapse/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/richarah","download_url":"https://codeload.github.com/richarah/steamlapse/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/richarah%2Fsteamlapse/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35376133,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-11T02:00:05.354Z","response_time":104,"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":["api","chart","charting","csv","gaming","html","html-css","pil","pillow","procrastination","python","python3","steam","steam-api","visualisation","visualiser","visualization","visualizer"],"created_at":"2025-02-21T22:33:35.876Z","updated_at":"2026-07-11T21:31:11.722Z","avatar_url":"https://github.com/richarah.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# steamlapse\n\nPython program pinpointing particular pastimes perpetuating procrastination. Originally made as a practical joke for PVV @ NTNU.\n\n\n\n#### What is this?\n\nSteamlapse is a set of programs for collecting and visualising Steam activity data via Steam Web API, creating a GitHub-like timelapse of user activity (read: procrastination).\n\n## Prerequisites\n\nTo use Steamlapse, you will need to have Python 3 installed, in addition to Pillow and a few ancillary libraries - these may be installed as follows:\n\n```\npip install -r requirements.txt\n```\n\nYou will also need to [obtain a Steam API key](https://steamcommunity.com/dev/apikey) and set it in a `.env` file in the root directory of the project:\n\n```\nSTEAM_API_KEY=\u003cyour Steam API key\u003e\n```\n\n## Usage\n\nThere are three main Python scripts in the project:\n\n### collect.py\n\n`collect.py` collects timestamps and persona states for each CSV file located in the `./data` directory.\n\nTo use `collect.py`, navigate to the root directory of the project and run the following command:\n\n```\npython collect.py\n```\n\nThis will periodically query the Steam API and update each CSV file in the `./data` directory with the latest Steam activity data.\n\n#### Note on running in background\n\nThis script has a tendency to randomly disconnect when run in the background with e.g. `python3 collect.py \u0026`. Thus, it is strongly advisable to use `screen`, `tmux` or similar for background operation instead.\n\n### add_csv.py\n\n`add_csv.py` prompts for a 17-digit Steam ID and creates a CSV file linked to this ID, so `collect.py` can collect data for this Steam user.\n\nTo use `add_csv.py`, navigate to the root directory of the project and run the following command. You will then be prompted for a CSV file, located in the data directory by default.\n\n```\npython add_csv.py\n```\n\n### create_html_chart.py\n\nGenerates and saves a HTML chart (with internal CSS) from a CSV. It may then be viewed with `view_html_chart.py` (see below)\n\n### view_html_chart.py\n\nPrompts for a HTML chart and displays it in the default web browser.\n\n### create_pil_chart.py (DEPRECATED)\n\n#### Please note\n\n`create_pil_chart.py` has been deprecated due to the inherent limitations of PIL/Pillow for this task. Please use `create_html_chart.py` instead.\n\nCreates a timelapse of Steam activity for a specified Steam user. To use `chart.py`, navigate to the root directory of the project and run the following command:\n\n```\npython chart.py\n```\n\nThis will prompt for a CSV file, and create a Github-like timelapse of Steam activity for the user linked to that file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricharah%2Fsteamlapse","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fricharah%2Fsteamlapse","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fricharah%2Fsteamlapse/lists"}