{"id":31215003,"url":"https://github.com/fabohax/kapo","last_synced_at":"2026-05-18T09:05:26.654Z","repository":{"id":307429455,"uuid":"1019796428","full_name":"fabohax/kapo","owner":"fabohax","description":"Browser Wallet for Bitcoin \u0026 L2s","archived":false,"fork":false,"pushed_at":"2025-09-17T13:59:42.000Z","size":233,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-14T18:38:26.652Z","etag":null,"topics":["bitcoin","lightning-network","liquid-network","rootstock","stacks","wallet"],"latest_commit_sha":null,"homepage":"https://kapu-btc.vercel.app/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fabohax.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-07-14T22:21:00.000Z","updated_at":"2025-09-17T14:52:41.000Z","dependencies_parsed_at":"2025-09-17T15:50:23.196Z","dependency_job_id":"388a5f85-55fa-4204-ba15-ac3a60f3a51c","html_url":"https://github.com/fabohax/kapo","commit_stats":null,"previous_names":["fabohax/kapu","fabohax/kapo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fabohax/kapo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabohax%2Fkapo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabohax%2Fkapo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabohax%2Fkapo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabohax%2Fkapo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fabohax","download_url":"https://codeload.github.com/fabohax/kapo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fabohax%2Fkapo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33172173,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T05:43:36.989Z","status":"ssl_error","status_checked_at":"2026-05-18T05:43:19.133Z","response_time":71,"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":["bitcoin","lightning-network","liquid-network","rootstock","stacks","wallet"],"created_at":"2025-09-21T10:54:44.353Z","updated_at":"2026-05-18T09:05:26.630Z","avatar_url":"https://github.com/fabohax.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# kapo\n\n## 🛡️ A Browser Wallet for Bitcoin \u0026 Layer 2s\n\n**kapo** is a lightweight in-browser wallet designed to onboard users to the Bitcoin ecosystem and its main Layer 2 protocols like Lightning Network, Stacks, and Rootstock. Built for Web2 simplicity with Web3 power.\n\n---\n\n## ⚙️ Features\n\n* 🔐 **In-browser wallet generation** (seed phrase + private key)\n* 📧 **Secure email backup** with password-based encryption\n* 🌉 **Connect to external wallet extensions** (e.g. Hiro Wallet, MetaMask Snap for BTC)\n* ⚡ **Supports Bitcoin L1 + LN, Stacks, and Rootstock**\n* 🪄 **Smooth onboarding for non-crypto users**\n* 🔄 **Session-based login with local storage**\n* 🔒 **Password-protected wallet recovery via email**\n* 💅 Built with **Next.js**, **TypeScript**, and **TailwindCSS**\n\n---\n\n## 🧩 Stack\n\n* **Framework**: Next.js + TailwindCSS\n* **Wallet Logic**: BitcoinJS, Stacks.js, RIF libraries\n* **Extensions Support**: Hiro Wallet, MetaMask Snap (via adapters), LNURL clients (soon)\n\n---\n\n## 🚀 Getting Started\n\n```bash\ngit clone https://github.com/fabohax/kapo\ncd kapo\nnpm install\n```\n\n---\n\n## 📧 Email Backup Configuration\n\nFor the secure email backup feature, you'll need to set up Resend (email service):\n\n1. **Get Resend API Key**:\n   - Sign up at [resend.com](https://resend.com)\n   - Create a new API key in your dashboard\n\n2. **Configure Environment Variables**:\n   ```bash\n   cp .env.example .env.local\n   ```\n   \n   Edit `.env.local` with your values:\n   ```bash\n   RESEND_API_KEY=your_resend_api_key_here\n   RESEND_FROM_EMAIL=kapo Wallet \u003cnoreply@yourdomain.com\u003e\n   NEXT_PUBLIC_BASE_URL=http://localhost:3000\n   ```\n\n3. **Domain Setup** (for production):\n   - Add your domain to Resend\n   - Verify DNS records\n   - Update `NEXT_PUBLIC_BASE_URL` to your production URL\n\n---\n\n## 🧪 Run Locally\n\n```bash\nnpm run dev\n```\n\n---\n\n## 🧠 How It Works\n\n* **Create Wallet**: Generate a secure wallet for BTC, Stacks, and Rootstock in-browser. Seed phrase and keys are shown once, then stored in session (not on-chain).\n* **Email Backup**: Optionally encrypt your wallet with a password and receive a recovery link via email.\n* **Connect Wallet**: Use existing browser extensions like Hiro Wallet or MetaMask Snap (BTC L1).\n* **Login with Seed Phrase**: Restore wallets by importing a saved seed phrase.\n* **Wallet Recovery**: Use the email recovery link and your password to restore your wallet anywhere.\n* **Session Management**: Keeps users logged in using localStorage, no backend required.\n\n## 🔒 Security Features\n\n* **Client-side Encryption**: Your wallet is encrypted with AES-256 using your password\n* **Secure Key Derivation**: PBKDF2 with 10,000 iterations and random salt\n* **No Password Storage**: Passwords are never stored - only you can decrypt your wallet\n* **Permanent Recovery**: Recovery links never expire for your convenience\n* **One-time Use**: Recovery links are deleted after successful use for security\n\n---\n\n## 🗺️ Roadmap\n\n* [ ] Lightning Network key management (LNURL, Lightning address)\n* [ ] Multi-account support\n* [ ] dApp signing for Bitcoin L2s\n* [ ] Fiat onramp integration\n* [ ] Mobile-ready version\n\n---\n\nMade with \u003c3 by [@fabohax](https://hax.pe)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabohax%2Fkapo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabohax%2Fkapo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabohax%2Fkapo/lists"}