{"id":47985408,"url":"https://github.com/ssecd/jkn-fp-bot","last_synced_at":"2026-04-04T11:27:21.750Z","repository":{"id":245420237,"uuid":"817098379","full_name":"ssecd/jkn-fp-bot","owner":"ssecd","description":"Solusi untuk mesin APM berbasis web agar dapat membuka aplikasi sidik jadi BPJS Kesehatan melalui browser","archived":false,"fork":false,"pushed_at":"2025-07-23T09:09:31.000Z","size":24,"stargazers_count":15,"open_issues_count":2,"forks_count":10,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-03-30T05:40:58.261Z","etag":null,"topics":["apm","bot","bpjs-bridging","jkn","nodejs"],"latest_commit_sha":null,"homepage":"","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/ssecd.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":"2024-06-19T02:47:02.000Z","updated_at":"2026-02-04T06:29:14.000Z","dependencies_parsed_at":"2024-06-22T03:12:58.825Z","dependency_job_id":"e847effe-ac3e-479d-9346-bb25311a1eca","html_url":"https://github.com/ssecd/jkn-fp-bot","commit_stats":null,"previous_names":["ssecd/jkn-fp-bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ssecd/jkn-fp-bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssecd%2Fjkn-fp-bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssecd%2Fjkn-fp-bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssecd%2Fjkn-fp-bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssecd%2Fjkn-fp-bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ssecd","download_url":"https://codeload.github.com/ssecd/jkn-fp-bot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ssecd%2Fjkn-fp-bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31397754,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T10:20:44.708Z","status":"ssl_error","status_checked_at":"2026-04-04T10:20:06.846Z","response_time":60,"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":["apm","bot","bpjs-bridging","jkn","nodejs"],"created_at":"2026-04-04T11:27:20.143Z","updated_at":"2026-04-04T11:27:21.728Z","avatar_url":"https://github.com/ssecd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JKN Fingerprint Bot\n\nSolusi untuk mesin APM (Anjungan Pendaftaran Mandiri) yang berbasis web agar dapat membuka aplikasi sidik jadi BPJS Kesehatan melalui browser.\n\nhttps://github.com/ssecd/jkn-fp-bot/assets/25121822/a73610d6-95d6-4726-bb37-b639984b76f2\n\n## Instalasi\n\nSebelum memulai instalasi, buka **Windows Powershell** lalu jalankan perintah berikut:\n\n```ps1\nSet-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Unrestricted -Force;\n```\n\nTujuannya untuk mengubah ExecutionPolicy supaya dapat menjalankan script instalasi.\n\nClone repository ini atau download [Zip](https://github.com/mustofa-id/jkn-fp-bot/archive/refs/heads/main.zip) secara manual jika Git belum terpasang. Setelah clone atau download/extract Zip, klik kanan script `install.ps1` lalu pilih `Run with PowerShell`, jika terdapat prompt terkait Execution Policy, ketik huruf `A` yakni `Yes to All` lalu tunggu hingga proses instalasi selesai. Jika instalasi berhasil, server bot akan berjalan di port 3000 secara default dan seharusnya dapat di-akses melalui browser di alamat http://localhost:3000.\n\n## Penggunaan\n\nMenggunakan `fetch` JavaScript\n\n```js\nasync function openFingerprint() {\n\tconst response = await fetch(`http://localhost:3000`, {\n\t\tmethod: 'POST',\n\t\tbody: new URLSearchParams({\n\t\t\tusername: 'username-fp',\n\t\t\tpassword: 'password-fp',\n\t\t\tcard_number: 'no-kartu-bpjs',\n\t\t\texit: true, // wait window for exit (optional, default false)\n\t\t\twait: 2_000 // wait for login to completed (optional, default 3_593)\n\t\t})\n\t});\n\n\tif (response.ok) {\n\t\t// Response OK setelah jendela aplikasi sidik jari ditutup\n\t} else {\n\t\tconst result = await response.json();\n\t\talert(result.message);\n\t}\n}\n```\n\n## Konfigurasi\n\nKonfigurasi tersimpan pada file `.env`, beberapa konfigurasi tersedia diantaranya:\n\n- `SERVER_PORT` Port server default-nya `3000`\n- `FP_WIN_TITLE` Windows title aplikasi sidik jari BPJS default-nya `Aplikasi Registrasi Sidik Jari`\n- `FP_INS_PATH` Lokasi instalasi aplikasi sidik jari BPJS default-nya `C:\\\\Program Files (x86)\\\\BPJS Kesehatan\\\\Aplikasi Sidik Jari BPJS Kesehatan\\\\After.exe`\n\nTemplate file konfigurasi dapat di salin dari file [.env.example](./.env.example)\n\n## Lisensi\n\n[MIT](./LICENSE)\n\n## Lainnya\n\n- [Pemecahan Masalah](https://github.com/mustofa-id/jkn-fp-bot/issues?q=is%3Aissue)\n- [Laporkan Bug](https://github.com/mustofa-id/jkn-fp-bot/issues/new)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssecd%2Fjkn-fp-bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fssecd%2Fjkn-fp-bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fssecd%2Fjkn-fp-bot/lists"}