{"id":13499829,"url":"https://github.com/rzr/webthing-go","last_synced_at":"2025-05-07T05:47:56.428Z","repository":{"id":66933406,"uuid":"201041172","full_name":"rzr/webthing-go","owner":"rzr","description":"http://purl.org/webthing-go","archived":false,"fork":false,"pushed_at":"2019-08-28T14:42:08.000Z","size":40,"stargazers_count":8,"open_issues_count":3,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-03T21:30:59.691Z","etag":null,"topics":["go","iot","json","rest-api","webthing","webthings","wot"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rzr.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}},"created_at":"2019-08-07T11:57:43.000Z","updated_at":"2025-04-08T16:58:29.000Z","dependencies_parsed_at":"2023-02-23T13:30:43.287Z","dependency_job_id":null,"html_url":"https://github.com/rzr/webthing-go","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzr%2Fwebthing-go","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzr%2Fwebthing-go/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzr%2Fwebthing-go/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rzr%2Fwebthing-go/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rzr","download_url":"https://codeload.github.com/rzr/webthing-go/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252823687,"owners_count":21809708,"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":["go","iot","json","rest-api","webthing","webthings","wot"],"created_at":"2024-07-31T22:00:43.670Z","updated_at":"2025-05-07T05:47:56.393Z","avatar_url":"https://github.com/rzr.png","language":"Go","funding_links":[],"categories":["Section"],"sub_categories":["Libraries"],"readme":"# WEBTHING-GO #\n\n[![Codacy Badge](https://api.codacy.com/project/badge/Grade/ced7751cfabf4bf9af168c24b173d422)](https://app.codacy.com/app/rzr/webthing-go?utm_source=github.com\u0026utm_medium=referral\u0026utm_content=rzr/webthing-go\u0026utm_campaign=Badge_Grade_Dashboard)\n\n[![GitHub forks](\nhttps://img.shields.io/github/forks/rzr/webthing-go.svg?style=social\u0026label=Fork\u0026maxAge=2592000\n)](\nhttps://GitHub.com/rzr/webthing-go/network/\n)\n[![license](\nhttps://img.shields.io/badge/license-MPL--2.0-blue.svg\n)](LICENSE)\n[![GitHub version](\nhttps://badge.fury.io/gh/rzr%2Fwebthing-go.svg\n)](\nhttp://badge.fury.io/gh/rzr%2Fwebthing-go\n)\n[![GoDoc](\nhttps://godoc.org/github.com/rzr/webthing-go?status.svg\n)](\nhttp://godoc.org/github.com/rzr/webthing-go\n)\n[![Build Status](\nhttps://travis-ci.org/rzr/webthing-go.svg?branch=master\n)](\nhttps://travis-ci.org/rzr/webthing-go\n)\n[![pulls](\nhttps://img.shields.io/docker/pulls/rzrfreefr/webthing-go.svg\n)](\nhttps://cloud.docker.com/repository/docker/rzrfreefr/webthing-go\n)\n[![Automated Builds](\nhttps://img.shields.io/docker/cloud/automated/rzrfreefr/webthing-go.svg\n)](\nhttps://cloud.docker.com/repository/docker/rzrfreefr/webthing-go/timeline\n)\n[![Build Status](\nhttps://img.shields.io/docker/cloud/build/rzrfreefr/webthing-go.svg\n)](\nhttps://cloud.docker.com/repository/docker/rzrfreefr/webthing-go/builds\n)\n[![Go Report Card](\nhttps://goreportcard.com/badge/github.com/rzr/webthing-go\n)](\nhttps://goreportcard.com/report/github.com/rzr/webthing-go\n)\n[![codebeat badge](\nhttps://codebeat.co/badges/f6061081-0f1b-4791-9bef-b439eb379cbc\n)](\nhttps://codebeat.co/projects/github-com-rzr-webthing-go-master\n)\n\n## USAGE ##\n\nTo get started look at [\"example\" directory](./example):\n\n```sh\ngo version\n#| go version go1.10.4 linux/amd64\n\ngo get github.com/rzr/webthing-go\n\ncd ~/go/src/github.com/rzr/webthing-go\ngo run example/simplest-webthing-go/simplest-thing.go\n#| Listening: :8888\n\ncurl http://localhost:8888/properties\n#| {\"on\":false}\n\ncurl -X PUT --data '{\"on\": true}'  http://localhost:8888/properties/on\n#| {\"on\":true}\n\ncurl http://localhost:8888/properties/on\n#| {\"on\":true}\n\ncurl http://localhost:8888 | jq -M .\n#| { ...\n#| \"title\": \"ActuatorExample\"\n#| }\n```\n\nTo import published module just use this alias:\n\n```go\nimport (\n\twebthing \"github.com/rzr/webthing-go\"\n)\n```\n\n## RESOURCES ##\n\n*   \u003chttps://rzr.github.io/webthing-go/\u003e\n*   \u003chttps://iot.mozilla.org/framework/\u003e\n*   \u003chttps://github.com/julienschmidt/httprouter\u003e\n*   \u003chttps://github.com/mozilla-iot/mozilla-iot.github.io/pull/58\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frzr%2Fwebthing-go","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frzr%2Fwebthing-go","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frzr%2Fwebthing-go/lists"}