{"id":16276528,"url":"https://github.com/virgesmith/rebble","last_synced_at":"2025-04-08T16:53:04.218Z","repository":{"id":87710801,"uuid":"146030028","full_name":"virgesmith/rebble","owner":"virgesmith","description":"Rebooted pebble watchfaces and apps","archived":false,"fork":false,"pushed_at":"2022-04-23T18:08:53.000Z","size":107,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T13:28:24.800Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/virgesmith.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}},"created_at":"2018-08-24T19:06:57.000Z","updated_at":"2022-04-23T18:08:56.000Z","dependencies_parsed_at":"2023-03-13T18:39:50.287Z","dependency_job_id":null,"html_url":"https://github.com/virgesmith/rebble","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/virgesmith%2Frebble","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Frebble/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Frebble/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/virgesmith%2Frebble/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/virgesmith","download_url":"https://codeload.github.com/virgesmith/rebble/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247888243,"owners_count":21012996,"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-10T18:48:43.580Z","updated_at":"2025-04-08T16:53:04.178Z","avatar_url":"https://github.com/virgesmith.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Pebble to Rebble\n\nI got a new phone a week or two after Pebble servers were finally switched off and then discovered that the apps and watchfaces I wrote a couple of years ago just disappeared when I paired my Pebble Time with the new phone. I couldn't find a way of getting them off the old phone and onto the new. Luckily, I'd published a couple of them ([Conway](https://apps.rebble.io/en_US/application/5627c5b4c361c93abe000072?query=conway\u0026section=watchfaces) and [Bouncy](https://apps.rebble.io/en_US/application/562a1e207480836070000059?query=bouncy\u0026section=watchfaces)) on the app store, and discovered [rebble](https://rebble.io/) had mirrored it and lots of other useful resources. I also managed to track down a couple of them (built binaries) on an old laptop I'd used at the time and installed them manually (by copying the .pbw file to the phone).\n\nBut mostly I just had the original source code, last built against a now-obsolete SDK. So I decided to see if I could get them working again in the post-pebble/rebble era, and eventually, with some help from the resurrected [rebble resources](https://developer.rebble.io/developer.pebble.com/index.html), and their [discord channel](https://discordapp.com/channels/221364737269694464/221397928592277504), I got a the old apps and watchfaces up and running, see [below](#sdk-installation).\n\nI've open-sourced a selection of my apps/watchfaces from my private svn repo. Feel free to (re)use the code as you wish (it's a MIT licence). NB they've only been tested with the Pebble Time (aka basalt) hardware.\n\n## Watchfaces\n\n### Bouncy\n\n![bouncy1](Bouncy/doc/Bouncy1.png)\n![bouncy2](Bouncy/doc/Bouncy2.png)\n![bouncy3](Bouncy/doc/Bouncy3.png)\n![bouncy4](Bouncy/doc/Bouncy4.png)\n\nOther than the time and date, this has 2 bouncing rings, the blue/grey one represents the bluetooth connection, the green/yellow/red one the battery charge. One of the rings is affected by gravity.\n\n### Conway\n\n![conway1](Conway/doc/Conway.png)\n![conway2](Conway/doc/Conway2.png)\n![conway3](Conway/doc/notConnected.png)\n\nJust the time, plus a 12x14 wrap-around implementation of [Conway's Game of Life]() (B36/S23 variant) in background. Starts with a randomly placed \"glider\". A new glider is added if you shake the watch, or if all cells die out. Cells are colour-coded according to their longevity. The time digits go pink if the bluetooth connection is lost.\n\n### Ticker (BTCker)\n\n![ticker1](Ticker/doc/Ticker.png)\n![ticker2](Ticker/doc/Ticker2.png)\n\nDisplays the GBP price of Bitcoin and a graph of the recent (~1.5days) history.\n\n### Compass\n\n![calibrating](Compass/doc/calibrating.png)\n![calibrated](Compass/doc/calibrated.png)\n\nDoes what it says on the tin. Bearing is red during calibration (which can take a while, moving around helps)\n\n### Gravball\n\n![gravball1](GravBall/doc/GravBall1.png)\n\nAttempt at a bouncy ball game. Only the white ball is affected by gravity. Collisions with the red ball reduce its size.\n\n### Pinger\n\n![pinger1](Pinger/doc/Pinger1.png)\n![pinger2](Pinger/doc/Pinger2.png)\n\nAttempt at phone proximity detection by monitoring the bluetooth connection. Green if connected, red if not. Was intended for locating a lost phone but the (re)connection is too slow to be practical.\n\n## SDK Installation\n\nIt's a bit confusing but there's two SDKs to install:\n\n- First follow the installation instructions [from the original pebble site that rebble salvaged](https://developer.rebble.io/developer.pebble.com/sdk/index.html)\n\n- Then do\n\n```sh\npebble sdk install https://github.com/aveao/PebbleArchive/raw/master/SDKCores/sdk-core-4.3.tar.bz2\n```\n\nNB the `pebble` executable is not automatically on your `PATH`, even in the virtualenv. It's at `./pebble-sdk-4.5-linux64/bin/` if you'd rather not mess with your `.bashrc`.\n\n## Clone and Build\n\nFirst clone the repo\n\n```sh\ngit clone https://github.com/virgesmith/rebble\n```\n\nThen choose one of the apps, e.g.\n\n```sh\n$ cd Conway\n$ ./prebuild.sh\n```\n\nthe prebuild script symlinks to the common directory, there are lots of source files shared across the apps. Would be nice to integrate this into `wscript` if possible.\n\nNow build\n\n```sh\npebble build\n```\n\n## Install\n\nTurn on developer mode in the Pebble phone app, note the IP address, then\n\n```sh\npebble install --phone \u003cip-addr\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirgesmith%2Frebble","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvirgesmith%2Frebble","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvirgesmith%2Frebble/lists"}