{"id":15472039,"url":"https://github.com/pganssle/traffic-wallpaper","last_synced_at":"2025-03-18T11:14:16.992Z","repository":{"id":28013255,"uuid":"31507928","full_name":"pganssle/traffic-wallpaper","owner":"pganssle","description":"A script that grabs the Houston traffic and various traffic cameras, combines it into one image, and sets it as your desktop background.","archived":false,"fork":false,"pushed_at":"2015-04-03T13:52:17.000Z","size":22924,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-24T17:34:44.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/pganssle.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}},"created_at":"2015-03-01T19:33:22.000Z","updated_at":"2015-04-03T13:52:17.000Z","dependencies_parsed_at":"2022-09-03T23:32:22.101Z","dependency_job_id":null,"html_url":"https://github.com/pganssle/traffic-wallpaper","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/pganssle%2Ftraffic-wallpaper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pganssle%2Ftraffic-wallpaper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pganssle%2Ftraffic-wallpaper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pganssle%2Ftraffic-wallpaper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pganssle","download_url":"https://codeload.github.com/pganssle/traffic-wallpaper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244207746,"owners_count":20416109,"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-02T02:24:40.244Z","updated_at":"2025-03-18T11:14:16.968Z","avatar_url":"https://github.com/pganssle.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"I like to make use of my desktop wallpaper to display some useful information. At work I have 3 monitors, and I don't usually have many (or any) windows open on the leftmost one, so I decided that I'd use it to monitor the traffic on my commute.\n\nThese scripts grab the traffic data from [Houston TranStar](http://www.houstontranstar.org/) - the traffic map, and a number of the traffic cameras and merges them into one image, the size of my monitor resolution:\n\n\u003cdiv align=\"center\"\u003e\n    \u003ca href=\"https://raw.githubusercontent.com/pganssle/traffic-wallpaper/master/images/wallpaper/composite_map.png\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/pganssle/traffic-wallpaper/master/images/wallpaper/composite_map.png\"\u003e\u003c/a\u003e\n\u003c/div\u003e\n\nThe `run_updates.pyw` updates the images every 30 seconds (configurable time interval in the `settings.json` file), and sets it to my desktop background (Windows). There doesn't seem to be a good way to set the desktop backgrounds individually, but since I want a different background on each screen, I make a composite image out of the traffic map and the other backgrounds. This generates a lock file (defaults to `runner.txt`) when it starts running. If you want to stop it running, just delete that file to stop the program (this allows me to avoid having any kind of user interface).\n\nThe `RunUpdates.bat` batch file is a wrapper for `run_updates.pyw`, and can be used if you want to use Task Scheduler to automatically start the script on startup. Unfortunately, it leaves a console window up - see [this SO question](https://stackoverflow.com/questions/324539/how-can-i-run-a-program-from-a-batch-file-without-having-the-console-open-after) for details on how to fix that, if that's your problem.\n\nRequires [Pillow](http://pillow.readthedocs.org/index.html) and [requests](http://docs.python-requests.org/en/latest/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpganssle%2Ftraffic-wallpaper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpganssle%2Ftraffic-wallpaper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpganssle%2Ftraffic-wallpaper/lists"}