{"id":20804879,"url":"https://github.com/didaquis/api-camera","last_synced_at":"2026-04-24T14:36:31.996Z","repository":{"id":42897548,"uuid":"249248522","full_name":"didaquis/api-camera","owner":"didaquis","description":"An API for interact with the official Raspberry Pi camera","archived":false,"fork":false,"pushed_at":"2024-12-20T19:15:52.000Z","size":377,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T03:55:54.491Z","etag":null,"topics":["api-server","camera","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/didaquis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-03-22T18:38:24.000Z","updated_at":"2024-10-22T17:23:22.000Z","dependencies_parsed_at":"2024-09-10T19:09:23.327Z","dependency_job_id":null,"html_url":"https://github.com/didaquis/api-camera","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/didaquis/api-camera","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didaquis%2Fapi-camera","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didaquis%2Fapi-camera/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didaquis%2Fapi-camera/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didaquis%2Fapi-camera/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/didaquis","download_url":"https://codeload.github.com/didaquis/api-camera/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/didaquis%2Fapi-camera/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32228022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["api-server","camera","raspberry-pi"],"created_at":"2024-11-17T19:12:16.329Z","updated_at":"2026-04-24T14:36:31.981Z","avatar_url":"https://github.com/didaquis.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# API-camera\n\nThis is a Node.js API to interact with the official Raspberry Pi camera.  \n\nExample of use: `http://192.168.1.35:14159/api-camera/take-image` (of course, you need to use the correct IP and port).  \nMake a request to the API root to get the complete documentation.: `http://192.168.1.35:14159` (of course, you need to use the correct IP and port).  \n\n**TIP:** All photographs are public. Anyone with access to the server will be able to see photos.\n\n### 📝 Requirements\n* Node.js 10 or higher\n* Raspberry Pi\n* The Raspberry Pi Camera Module v2\n\n### 📚 How to prepare the hardware\n1. Make sure the Raspberry Pi is not turned on.  \n2. Connect the camera.  \n3. Turn on the Raspberry Pi and active the camera interface `sudo raspi-config`.  \n\n### 📚 How to run the API\n* Use the command: `npm install`. If you are deploying the app in production, it's better to use this command: `npm install --production`\n* Configure the application:\n  * Duplicate the configuration file `_env` and rename it as `.env`\n  * Edit the file `.env`\n* Then use: `npm run start`. \n* That's it!\n\n**Do you need help with `.env` file?** \n\nDo not worry, here you have a guide:\n\n| Key | Description |\n|-----|-------------|\n| PORT | The port for running the backend |\n\n\n### 😭 Common problems\nSome tips for solving most common problems:\n* If you are using UFW firewall on Raspbian, ensures the http trafic is allowed: `sudo ufw allow from 192.168.1.0/24` (this allow all traffic from the network 192.168.1.0). Maybe you prefer allow all trafic for a specific port of API-camera: `sudo ufw allow 14159/tcp`\n* Are you sure you have activated the camera interface? 😬\n\n\n### 💻 Tricks for development\n* Run app in dev mode: `npm run dev`\n* Run the linter: `npm run lint`\n* Delete all log files: `npm run purge`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidaquis%2Fapi-camera","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdidaquis%2Fapi-camera","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdidaquis%2Fapi-camera/lists"}