Skip to content

feat: initial project specification and architecture #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 5, 2025

Conversation

nullcoder
Copy link
Owner

@nullcoder nullcoder commented Jun 5, 2025

Summary

  • Created comprehensive specification for GhostPaste - a zero-knowledge encrypted code sharing platform
  • Defined technical architecture and implementation details
  • Added CLAUDE.md for AI-assisted development guidance
  • Documented git workflow requirements

Key Features

  • 🔐 Zero-knowledge encryption (server never sees plaintext)
  • 👤 No user accounts required
  • ✏️ PIN-protected anonymous editing
  • ⏱️ Self-expiring gists
  • 🔄 Version history
  • 📦 Efficient binary storage format

Technical Decisions

  • Domain: ghostpaste.dev
  • Stack: Next.js + shadcn/ui + CodeMirror + Cloudflare R2
  • Encryption: AES-GCM with Web Crypto API
  • Storage: Mixed encrypted/unencrypted metadata + binary content blobs
  • Limits: 500KB/file, 5MB/gist, 20 files max
  • Authentication: PIN-based for anonymous editing

Test Plan

  • Review specification for completeness
  • Verify all technical decisions are clearly documented
  • Ensure CLAUDE.md provides useful development guidance
  • Confirm git workflow is clearly defined

🤖 Generated with Claude Code

nullcoder and others added 3 commits June 4, 2025 23:26
- Define zero-knowledge encrypted code sharing platform
- Establish tech stack: Next.js, shadcn/ui, CodeMirror, Cloudflare R2
- Design data models with mixed encrypted/unencrypted metadata
- Implement binary storage format for efficient content storage
- Add PIN-based authentication for anonymous editing
- Include self-expiring and one-time view as core features
- Set limits: 500KB/file, 5MB/gist, 20 files max
- Create comprehensive API specification
- Add CLAUDE.md for AI-assisted development

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Document branch naming conventions
- Specify pull request workflow steps
- Emphasize commit summary requirement when merging
- Add preference for rebase over merge

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
- Emphasize using comprehensive summary instead of commit list
- Clarify that merge message should describe overall work accomplished

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@nullcoder nullcoder merged commit 7b46a5b into main Jun 5, 2025
@nullcoder nullcoder deleted the feat/refined-specification branch June 5, 2025 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant