{"id":21969598,"url":"https://github.com/cinderblock/pwm-controller","last_synced_at":"2026-04-18T06:06:59.460Z","repository":{"id":143531469,"uuid":"70039883","full_name":"cinderblock/pwm-controller","owner":"cinderblock","description":"An interface for managing sysfs pwm channels","archived":false,"fork":false,"pushed_at":"2019-11-02T05:29:00.000Z","size":24,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-28T02:16:05.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cinderblock.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":"2016-10-05T07:47:25.000Z","updated_at":"2016-10-05T08:51:31.000Z","dependencies_parsed_at":"2023-03-27T14:23:24.373Z","dependency_job_id":null,"html_url":"https://github.com/cinderblock/pwm-controller","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/cinderblock%2Fpwm-controller","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2Fpwm-controller/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2Fpwm-controller/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinderblock%2Fpwm-controller/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cinderblock","download_url":"https://codeload.github.com/cinderblock/pwm-controller/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245027777,"owners_count":20549385,"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-11-29T14:22:44.489Z","updated_at":"2026-04-18T06:06:59.437Z","avatar_url":"https://github.com/cinderblock.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pwm-controller\nAn interface for managing sysfs pwm channels\n\n## Installation\n\nClone git repo and run `npm install`:\n\n```\ngit clone https://github.com/cinderblock/pwm-controller.git\ncd pwm-controller\nnpm install\n```\n\n`npm install` will also run webpack and generate a folder `webpack` to serve static files from.\n\n## Run Server\n\nUsing npm to start the server ensures that configuration options are loaded.\n\n```\nnpm run server\n```\n\n## Development\n\nServer with nodemon:\n```\nnpm run server-dev\n```\n\nClient webpack watch server:\n```\nnpm run client-dev -- --open # --open to automatically open browser\n```\n\n## Configuration\n\nCan be configured to run on ports other than 9000 with `npm config set ...`\n\n```\n# Change default port\nnpm config set pwm-controller:port 9001\n\n# Set address to bind to\nnpm config set pwm-controller:hostname 127.0.0.1\n```\n\nIt is also possible to use a unix socket instead:\n```\nnpm config set pwm-controller:socket /path/to/file.sock\n```\n\nIf using a unix socket, you can specify a mode sting to pass to chmod to set correct file permissions on the created socket.\n\n```\nnpm config set pwm-controller:socketmode 666\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinderblock%2Fpwm-controller","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcinderblock%2Fpwm-controller","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinderblock%2Fpwm-controller/lists"}