-
Notifications
You must be signed in to change notification settings - Fork 0
feat: Add PRD Generator app and Docker infrastructure #3
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
Open
flatfinderai-cyber
wants to merge
14
commits into
main
Choose a base branch
from
feature/add-prd-generator
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 3 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
4168802
feat: Add PRD Generator - Interactive Q&A tool for creating prd.json …
flatfinderai-cyber 18aac1c
docs: Add distribution manifests for all apps
flatfinderai-cyber 01151cb
feat: Add Docker containerization and npm publishing support
flatfinderai-cyber 59b6e1c
fix: Resolve TypeScript errors in PRDGenerator
flatfinderai-cyber 2c9d8d7
fix: Resolve linting errors in APPS-REGISTRY.md
flatfinderai-cyber 9a8ba92
Update PRDGenerator/components/PRDGenerator.tsx
flatfinderai-cyber e4ec66f
Update PRDGenerator/README.md
flatfinderai-cyber 28c7d48
Update DISTRIBUTION-MANIFEST.md
flatfinderai-cyber fe319be
security: Replace exposed Supabase JWT tokens with placeholders
flatfinderai-cyber 1e7f063
Update docker-compose.yml for security improvements
flatfinderai-cyber 28d57aa
Modify Supabase keys in .env.example
flatfinderai-cyber 523909a
security: Update Supabase keys to generic placeholders
flatfinderai-cyber 9da570b
Remove placeholder keys from .env.example
flatfinderai-cyber cbd9e60
Clear Supabase keys in docker-compose.yml
flatfinderai-cyber File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,33 @@ | ||
| # Designr Environment Configuration | ||
|
|
||
| # OpenAI API (for GPT-4 Vision) | ||
| OPENAI_API_KEY=sk-your-openai-key-here | ||
|
|
||
| # Anthropic API (for Claude models) | ||
| ANTHROPIC_API_KEY=sk-ant-your-anthropic-key-here | ||
|
|
||
| # Supabase Configuration | ||
| NEXT_PUBLIC_SUPABASE_URL=http://localhost:8000 | ||
| NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 | ||
| SUPABASE_SERVICE_ROLE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9 | ||
|
flatfinderai-cyber marked this conversation as resolved.
Outdated
|
||
|
|
||
| # Database | ||
| DATABASE_URL=postgresql://postgres:designr@postgres:5432/designr | ||
|
|
||
| # Node Environment | ||
| NODE_ENV=development | ||
|
|
||
| # App URLs | ||
| NEXT_PUBLIC_APP_URL=http://localhost:3000 | ||
| NEXT_PUBLIC_LABS_URL=http://localhost:3001 | ||
| NEXT_PUBLIC_PRD_GENERATOR_URL=http://localhost:3002 | ||
|
|
||
| # Redis | ||
| REDIS_URL=redis://redis:6379 | ||
|
|
||
| # JWT Secret | ||
| JWT_SECRET=your-super-secret-jwt-token-change-this-in-production | ||
|
|
||
| # GitHub OAuth (optional) | ||
| GITHUB_CLIENT_ID=your-github-client-id | ||
| GITHUB_CLIENT_SECRET=your-github-client-secret | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,153 @@ | ||
| # Designr Hub Distribution Package | ||
|
|
||
| **Version:** 1.0.0 | ||
| **Release Date:** January 16, 2026 | ||
| **Status:** Production Ready ✅ | ||
|
|
||
| --- | ||
|
|
||
| ## 📦 Package Contents | ||
|
|
||
| ``` | ||
| designr-hub/ | ||
| ├── src/ | ||
| │ ├── app/ # Next.js app | ||
| │ ├── components/ # React components | ||
| │ └── lib/ # Utilities | ||
| ├── public/ # Static assets | ||
| ├── automation/ # Ralph automation | ||
| ├── inventions/ # Invention templates | ||
| ├── .github/ # GitHub workflows | ||
| ├── .setup/ # Interactive tutorials | ||
| ├── docs/ # Documentation | ||
| ├── package.json | ||
| ├── README.md | ||
| ├── APP-STORE-COMPLETE.md | ||
| ├── APPS-REGISTRY.md | ||
| ├── DISTRIBUTION-MANIFEST.md | ||
| └── PULL_REQUEST_CHECKLIST.md | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## 🚀 Installation | ||
|
|
||
| ### Prerequisites | ||
| - Node.js 18+ | ||
| - pnpm package manager | ||
| - Git | ||
|
|
||
| ### Step 1: Clone | ||
| ```bash | ||
| git clone https://github.com/flatfinderai-cyber/Designr.git | ||
| cd Designr | ||
| ``` | ||
|
|
||
| ### Step 2: Install | ||
| ```bash | ||
| pnpm install | ||
| ``` | ||
|
|
||
| ### Step 3: Environment | ||
| ```bash | ||
| cp .env.example .env.local | ||
| ``` | ||
|
|
||
| ### Step 4: Start | ||
| ```bash | ||
| pnpm dev | ||
| ``` | ||
|
|
||
| Open http://localhost:3000 | ||
|
|
||
| --- | ||
|
|
||
| ## 🧪 Quality Gates | ||
|
|
||
| ```bash | ||
| # Type checking | ||
| pnpm typecheck | ||
|
|
||
| # Linting | ||
| pnpm lint | ||
| ``` | ||
|
|
||
| --- | ||
|
|
||
| ## 📋 Features | ||
|
|
||
| ### Core Features | ||
| - ✅ App discovery and registry | ||
| - ✅ One-click installation | ||
| - ✅ Team management | ||
| - ✅ Integration marketplace | ||
| - ✅ Analytics dashboard | ||
|
|
||
| ### Developer Tools | ||
| - ✅ Ralph automation system | ||
| - ✅ Invention templates | ||
| - ✅ Interactive tutorials | ||
| - ✅ PR workflow automation | ||
|
|
||
| --- | ||
|
|
||
| ## 🏗️ Architecture | ||
|
|
||
| **Frontend:** | ||
| - Next.js 14 | ||
| - React 18 | ||
| - TypeScript | ||
| - Tailwind CSS | ||
|
|
||
| **Backend:** | ||
| - Next.js API routes | ||
| - Supabase | ||
|
|
||
| **DevOps:** | ||
| - GitHub Actions | ||
| - Ralph automation | ||
| - CI/CD pipelines | ||
|
|
||
| --- | ||
|
|
||
| ## 📚 Documentation | ||
|
|
||
| - [APP-STORE-COMPLETE.md](APP-STORE-COMPLETE.md) - App store guide | ||
| - [APPS-REGISTRY.md](APPS-REGISTRY.md) - App registry | ||
| - [DISTRIBUTION-MANIFEST.md](DISTRIBUTION-MANIFEST.md) - Distribution info | ||
| - [GETTING-STARTED.md](GETTING-STARTED.md) - Quick start | ||
| - [AGENTS.md](AGENTS.md) - Ralph agent guide | ||
|
|
||
| --- | ||
|
|
||
| ## 🔧 Tools Included | ||
|
|
||
| ### Ralph Automation | ||
| ```bash | ||
| ./automation/quick-start.sh | ||
| ./automation/start-ralph.sh | ||
| ``` | ||
|
|
||
| ### Invention System | ||
| ```bash | ||
| ./inventions/scripts/new-invention.sh my-invention | ||
| ./inventions/scripts/start-invention.sh my-invention | ||
| ``` | ||
|
|
||
| ### Tutorials | ||
| - [GitHub Push Tutorial](docs/GITHUB-PUSH-TUTORIAL.md) | ||
| - [Interactive Guides](.setup/README.md) | ||
|
|
||
| --- | ||
|
|
||
| ## 📞 Support | ||
|
|
||
| - **Issues:** https://github.com/flatfinderai-cyber/Designr/issues | ||
| - **Tutorials:** See .setup/ folder | ||
| - **Documentation:** See README.md files | ||
|
|
||
| --- | ||
|
|
||
| ## 📄 License | ||
|
|
||
| MIT License |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.