{"id":22836011,"url":"https://github.com/hybridgroup/gopherbot","last_synced_at":"2025-12-30T00:40:37.982Z","repository":{"id":45002245,"uuid":"176565000","full_name":"hybridgroup/gopherbot","owner":"hybridgroup","description":"A robotic gopher plushie that you can code using TinyGo.","archived":false,"fork":false,"pushed_at":"2022-08-25T07:03:23.000Z","size":27879,"stargazers_count":18,"open_issues_count":3,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2024-06-19T02:01:56.612Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://gopherbot.com","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hybridgroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-19T17:28:05.000Z","updated_at":"2023-09-29T19:51:44.000Z","dependencies_parsed_at":"2022-08-04T01:30:45.954Z","dependency_job_id":null,"html_url":"https://github.com/hybridgroup/gopherbot","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/hybridgroup%2Fgopherbot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hybridgroup%2Fgopherbot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hybridgroup%2Fgopherbot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hybridgroup%2Fgopherbot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hybridgroup","download_url":"https://codeload.github.com/hybridgroup/gopherbot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229464309,"owners_count":18077035,"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-12-12T23:00:50.490Z","updated_at":"2025-12-30T00:40:37.953Z","avatar_url":"https://github.com/hybridgroup.png","language":"Go","funding_links":[],"categories":["Wireless Communication"],"sub_categories":["WASI and WASM Unknown"],"readme":"# Gopherbot\n\nGopherbot is a robot gopher plushie that is programmable using TinyGo (https://tinygo.org)\n\n[![GoDoc](https://godoc.org/github.com/hybridgroup/gopherbot?status.svg)](https://godoc.org/github.com/hybridgroup/gopherbot)\n\nUses an [Adafruit Circuit Playground Express](https://www.adafruit.com/product/3333) with a 3D printed helmet and backpack.\n\nHere is a TinyGo program that blinks all of the various built-in LEDs all at the same time when the slider switch is in the \"on\" position.\n\n```go\npackage main\n\nimport (\n\t\"time\"\n\n\t\"github.com/hybridgroup/gopherbot\"\n)\n\nfunc main() {\n\tled := gopherbot.StatusLED()\n\tantenna := gopherbot.Antenna()\n\tvisor := gopherbot.Visor()\n\tbackpack := gopherbot.Backpack()\n\n\tslider := gopherbot.Slider()\n\n\tfor {\n\t\tif slider.IsOn() {\n\t\t\tled.On()\n\t\t\tantenna.On()\n\t\t\tvisor.Blue()\n\t\t\tbackpack.Blue()\n\t\t\ttime.Sleep(500 * time.Millisecond)\n\n\t\t\tled.Off()\n\t\t\tantenna.Off()\n\t\t\tvisor.Off()\n\t\t\tbackpack.Off()\n\t\t\ttime.Sleep(500 * time.Millisecond)\n\t\t}\n\t}\n}\n```\n\n## Assembling Your Kit\n\nDid you receive a Gopherbot kit? Awesome! For assembly instructions, go here:\n\n[Gopherbot Assembly Instructions](./assembly/README.md)\n\nThe 3D designs for the helmet, ears, and backpack are created by Damen Evans under the Creative Commons - Attribution - Non-Commercial license. The files are located here:\n\nhttps://www.thingiverse.com/thing:3761937\n\n## Installation\n\nTo put code on Gopherbot, you need to install some software on your own machine.\n\n### Go 1.18\n\nIf you have not installed Go 1.18 on your computer already, you can download it here:\n\nhttps://golang.org/dl/\n\n### TinyGo\n\nFollow the instructions here to install TinyGo:\n\nhttps://tinygo.org/getting-started/\n\n### Gopherbot code\n\nLastly, get the code from this repository:\n\n```\ngit clone https://github.com/hybridgroup/gopherbot.git\ncd gopherbot\n```\n\nOK great, we're ready to write our first TinyGo program and put it on Gopherbot.\n\n## Hello, Gopherbot\n\nGopherbot uses an [Adafruit Circuit Playground Express](https://www.adafruit.com/product/3333) as its \"brain\". To put new code on the Circuit Playground Express you can copy a file in the correct format from your computer to the board using a USB connection without having to install any extra flashing software. This is because it comes with a \"bootloader\" named UF2 already installed, that lets to do the flashing. Here is more information about the [UF2 bootloader](https://github.com/Microsoft/uf2) if you are interested.\n\nHere is what to do:\n\n- Plug your Circuit Playground Express into your computer's USB port.\n- Build and flash your TinyGo program to the board in `.uf2` format using this command:\n\n```shell\ntinygo flash -target=gopherbot examples/blinky1\n```\n\n- The Circuit Playground Express board should restart and then begin running your program. This program just causes the small LED labelled \"D13\" on the Circuit Playground Express board to start blinking on and off.\n\nNow you are ready to try something a little more flashy.\n\n- Build and flash the demo TinyGo program to the board using this command:\n\n```shell\ntinygo flash -target=circuitplay-express ./examples/blink/\n```\n\nNow THAT is a blink!\n\n## What To Do Next?\n\nIf you want to load one of the example programs on Gopherbot, check out our [examples located here](./examples).\n\nFor a series of activities to learn programming TinyGo using Gopherbot, check out the [learn folder](./learn/README.md).\n\nHave fun!\n\n## Gopherbot 2\n\nThe Gopherbot 2 is the same as the Gopherbot but uses a Circuit Playground Bluefruit board, which has a Nordic Semiconductors nrf52840 processor with built-in Bluetooth radio.\n\nTo flash code on the Gopherbot 2, use the same commands but with the `target=gopherbot2`.\n\n```shell\ntinygo flash -target=gopherbot2 ./examples/blink/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhybridgroup%2Fgopherbot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhybridgroup%2Fgopherbot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhybridgroup%2Fgopherbot/lists"}