{"id":16993320,"url":"https://github.com/janloebel/nipca","last_synced_at":"2025-07-15T18:46:55.508Z","repository":{"id":40750443,"uuid":"172995437","full_name":"JanLoebel/nipca","owner":"JanLoebel","description":"Network IP Camera Application Programming Interface (NIPCA) - Client","archived":false,"fork":false,"pushed_at":"2022-06-24T22:17:41.000Z","size":61,"stargazers_count":5,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-14T02:02:42.145Z","etag":null,"topics":["client","ip-camera","ipcamera","javascript","nipca","node","security"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/JanLoebel.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":"2019-02-27T21:46:58.000Z","updated_at":"2024-11-09T18:48:19.000Z","dependencies_parsed_at":"2022-08-20T02:32:56.284Z","dependency_job_id":null,"html_url":"https://github.com/JanLoebel/nipca","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JanLoebel/nipca","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLoebel%2Fnipca","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLoebel%2Fnipca/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLoebel%2Fnipca/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLoebel%2Fnipca/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JanLoebel","download_url":"https://codeload.github.com/JanLoebel/nipca/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JanLoebel%2Fnipca/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265451723,"owners_count":23767814,"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":["client","ip-camera","ipcamera","javascript","nipca","node","security"],"created_at":"2024-10-14T03:42:51.735Z","updated_at":"2025-07-15T18:46:55.449Z","avatar_url":"https://github.com/JanLoebel.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Network IP Camera Application Programming Interface (NIPCA) - Client\nA `node.js` client to connect to NIPCA, which is a protocol for some Network IP Cameras e.g.: `DLINK DCS-8200LH`.\n\n[![npm version](https://badge.fury.io/js/nipca.svg)](https://badge.fury.io/js/nipca)\n\n## Description\nProvides a `node.js` client to access NIPCA based IP Cameras. Tested with `node.js 10` and `DLINK DCS-8200LH`.\n\nSome of the cameras seems to support `Basic Authentication` by suppling the credentials by `base64(username:password)`. In my case (with the `DLINK DCS-8200LH`) this wasn't working, therefore I had to reverse engineer the authentication protocol there.\n\n## Install\n```bash\nnpm install nipca --save\n```\n\n## Usage\nThis is a code example to show how to use this library.\n\n```javascript\nconst Nipca = require(\"nipca\");\n\nconst baseUrl = \"http://192.168.0.10\"; // IP of the camera\nconst user = \"admin\"; // User\nconst password = \"753776\"; // Pin-Code (backside of the camera)\n\nnew Nipca(baseUrl)\n  .login(user, password)\n  .then(nipcaClient =\u003e {\n    nipcaClient.fetchInfo().then(res =\u003e console.log(\"fetchInfo:\", res));\n  })\n  .catch(err =\u003e console.error(\"Error\", err));\n```\n\n## Further Links\n- http://gurau-audibert.hd.free.fr/josdblog/wp-content/uploads/2013/09/CGI_2121.pdf\n- https://docplayer.net/33354138-Network-ip-camera-application-programming-interface-nipca.html\n- ftp://ftp.dlink.net.pl/dcs/dcs-2132L/documentation/DCS-2132L_NIPCA_support%20table_1-9-5_20131211.pdf\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanloebel%2Fnipca","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjanloebel%2Fnipca","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjanloebel%2Fnipca/lists"}