{"id":24956856,"url":"https://github.com/andrewstuart/rplace","last_synced_at":"2025-04-10T19:05:09.777Z","repository":{"id":42493636,"uuid":"477171180","full_name":"andrewstuart/rplace","owner":"andrewstuart","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-11T18:27:44.000Z","size":1108,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T16:46:18.829Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/andrewstuart.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":"2022-04-02T21:05:03.000Z","updated_at":"2022-04-04T20:38:16.000Z","dependencies_parsed_at":"2022-09-06T01:40:59.086Z","dependency_job_id":null,"html_url":"https://github.com/andrewstuart/rplace","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Frplace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Frplace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Frplace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andrewstuart%2Frplace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andrewstuart","download_url":"https://codeload.github.com/andrewstuart/rplace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248279196,"owners_count":21077406,"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":"2025-02-03T06:41:25.245Z","updated_at":"2025-04-10T19:05:09.751Z","avatar_url":"https://github.com/andrewstuart.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"rplace is a Go client for the r/place canvas and updates.\n\nIts purpose is to be able to more simply diff the state of the canvas with some\ndesired state as given by an image and x,y location.\n\n```go\nvar cli rplace.Client\nupdates, err := cli.Subscribe(context.Background())\nif err != nil {\n\tlog.Fatal(err)\n}\n\nfor upds := range updates {\n\tfor _, upd := range upds {\n\t\tfmt.Println(upd.Link(), \" =\u003e \" upd.Color.Name)\t\n\t}\n}\n```\n\nFor a more practical example, see [the cmd/rplace\npackage](./cmd/rplace/main.go).\n\n# TODO\n\n- [ ] Add multiple desired image states tracking with the same update feed.\n- [ ] Don't check alpha 0 \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewstuart%2Frplace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandrewstuart%2Frplace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandrewstuart%2Frplace/lists"}