{"id":48259843,"url":"https://github.com/corvid-agent/corvid-agent-chat","last_synced_at":"2026-04-04T21:28:44.381Z","repository":{"id":337343416,"uuid":"1153170780","full_name":"corvid-agent/corvid-agent-chat","owner":"corvid-agent","description":"💬 Lightweight AlgoChat client for corvid-agent — GitHub Pages hosted","archived":false,"fork":false,"pushed_at":"2026-02-27T02:53:41.000Z","size":408,"stargazers_count":3,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-27T09:53:51.086Z","etag":null,"topics":["algochat","algorand","autonomous-agent","blockchain","chat","encrypted-messaging","encryption","github-pages","messaging","typescript","web-client","web3"],"latest_commit_sha":null,"homepage":"https://corvid-agent.github.io/corvid-agent-chat/","language":"TypeScript","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/corvid-agent.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":"2026-02-09T01:39:00.000Z","updated_at":"2026-02-27T02:53:44.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/corvid-agent/corvid-agent-chat","commit_stats":null,"previous_names":["corvid-agent/corvid-agent-chat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/corvid-agent/corvid-agent-chat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Fcorvid-agent-chat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Fcorvid-agent-chat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Fcorvid-agent-chat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Fcorvid-agent-chat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/corvid-agent","download_url":"https://codeload.github.com/corvid-agent/corvid-agent-chat/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/corvid-agent%2Fcorvid-agent-chat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31415106,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T20:09:54.854Z","status":"ssl_error","status_checked_at":"2026-04-04T20:09:44.350Z","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":["algochat","algorand","autonomous-agent","blockchain","chat","encrypted-messaging","encryption","github-pages","messaging","typescript","web-client","web3"],"created_at":"2026-04-04T21:28:43.885Z","updated_at":"2026-04-04T21:28:44.370Z","avatar_url":"https://github.com/corvid-agent.png","language":"TypeScript","funding_links":[],"categories":["AI and Machine Learning"],"sub_categories":["Metrics and Analytics Services"],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"docs/preview.png\" alt=\"corvid-agent-chat preview\" width=\"100%\"\u003e\u003c/p\u003e\n\n# CorvidAgent Chat\n\nDecentralized peer-to-peer messaging client built on [AlgoChat](https://github.com/CorvidLabs/ts-algochat) — encrypted communication over the Algorand blockchain.\n\n## Features\n\n- **End-to-end encrypted messaging** via AES-GCM with PSK (Pre-Shared Key) ratcheting\n- **Algorand-native** — messages are sent as encrypted transaction notes\n- **QR code pairing** — scan a QR code to establish a secure connection\n- **Wallet management** — create or import Algorand wallets with password-encrypted local storage\n- **Message persistence** — chat history stored in IndexedDB, survives page refresh\n- **Offline-first** — works as a static site, no backend required\n- **Markdown rendering** — supports code blocks, bold, italic, links, lists, and more\n\n## Architecture\n\n```\nsrc/\n  main.ts          # App entry point, view router\n  types.ts         # Core TypeScript interfaces\n  store.ts         # Reactive state management (pub/sub)\n  messaging.ts     # AlgoChat messaging service (send/receive/poll)\n  wallet.ts        # Wallet encryption (AES-GCM + PBKDF2)\n  markdown.ts      # Lightweight markdown-to-HTML renderer\n  qr-scanner.ts    # QR code scanning + PSK URI parsing\n  toast.ts         # Toast notification system\n  utils.ts         # Shared utilities (escapeHtml, base64, etc.)\n  db.ts            # IndexedDB message persistence\n  views/\n    setup.ts       # Wallet creation/import/unlock\n    scan.ts        # QR code scanning for agent pairing\n    chat.ts        # Main chat interface\n    settings.ts    # Wallet \u0026 connection management\n```\n\n**Stack:** TypeScript, Vite, vanilla DOM (no framework), Web Crypto API, Algorand SDK, AlgoChat protocol.\n\n## Getting Started\n\n### Prerequisites\n\n- [Bun](https://bun.sh/) (or Node.js 18+)\n\n### Install \u0026 Run\n\n```bash\n# Install dependencies\nbun install\n\n# Start dev server\nbun run dev\n\n# Run tests\nbun run test\n\n# Build for production\nbun run build\n```\n\n### Usage\n\n1. **Create or import a wallet** — set a password to encrypt your wallet locally\n2. **Scan the agent's QR code** — or paste the PSK URI manually\n3. **Start chatting** — messages are encrypted and sent as Algorand transactions\n\n## Encryption\n\n- **Wallet storage:** Mnemonic encrypted with AES-256-GCM, key derived via PBKDF2 (600k iterations, SHA-256)\n- **Message encryption:** PSK-based ratcheting with per-message derived keys, NaCl box (X25519 + XSalsa20-Poly1305)\n- **Transport:** Encrypted payloads sent as Algorand payment transaction notes\n\n## Deployment\n\nThe app deploys as a static site to GitHub Pages via the `deploy.yml` workflow (triggers on push to `main`).\n\n```bash\nbun run build\n# Output in dist/\n```\n\n## Testing\n\n```bash\nbun run test          # Run once\nbun run test:watch    # Watch mode\n```\n\nTests cover: utility functions, markdown rendering, and state management.\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorvid-agent%2Fcorvid-agent-chat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorvid-agent%2Fcorvid-agent-chat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorvid-agent%2Fcorvid-agent-chat/lists"}