{"id":17888283,"url":"https://github.com/squat/servor","last_synced_at":"2026-04-30T10:34:14.654Z","repository":{"id":73957155,"uuid":"207278231","full_name":"squat/servor","owner":"squat","description":"a tiny HTTP API for controlling servos via GPIO","archived":false,"fork":false,"pushed_at":"2020-04-24T01:27:45.000Z","size":432,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-08T16:44:34.100Z","etag":null,"topics":["microservice","raspberry-pi","servo"],"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/squat.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":"2019-09-09T09:54:45.000Z","updated_at":"2020-08-20T20:56:16.000Z","dependencies_parsed_at":"2023-03-13T20:17:28.843Z","dependency_job_id":null,"html_url":"https://github.com/squat/servor","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/squat%2Fservor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fservor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fservor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/squat%2Fservor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/squat","download_url":"https://codeload.github.com/squat/servor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927809,"owners_count":20856193,"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":["microservice","raspberry-pi","servo"],"created_at":"2024-10-28T13:37:00.723Z","updated_at":"2026-04-30T10:34:09.619Z","avatar_url":"https://github.com/squat.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Servor\n\nServor is a tiny HTTP API that can control a servo connected to a GPIO pin.\n\n[![Build Status](https://travis-ci.org/squat/servor.svg?branch=master)](https://travis-ci.org/squat/servor)\n[![Go Report Card](https://goreportcard.com/badge/github.com/squat/servor)](https://goreportcard.com/report/github.com/squat/servor)\n\n## Getting Started\n\nFirst, install servor's one dependency: [pi-blaster](https://github.com/sarfata/pi-blaster).\nThe easiest way to use servor is with the prebuilt container, e.g.:\n\n```shell\ndocker run -p 8080:8080 squat/servor --pin=18\n```\n\nThis container can be deployed to a Kubernetes cluster running on nodes with GPIO, e.g. a Raspberry PI running k3s:\n\n```shell\nkubectl apply -f https://raw.githubusercontent.com/squat/servor/master/manifests/pi-blaster.yaml\nkubectl apply -f https://raw.githubusercontent.com/squat/servor/master/manifests/servor.yaml\nkubectl port-forward svc/servor 8080\n```\n\nOnce running, open the servor UI in a browser and use the arrow keys or buttons to control the connected servo:\n\n```shell\n$BROWSER http://localhost:8080\n```\n\n## API\n\nServor exposes two API endpoints:\n\n### POST `/api/left`\nThis endpoint moves the servo one step to the left.\n\n### POST `/api/right`\nThis endpoint moves the servo one step to the right.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquat%2Fservor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsquat%2Fservor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsquat%2Fservor/lists"}