Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .env.example
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=
SUPABASE_SERVICE_ROLE_KEY=

# 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
75 changes: 36 additions & 39 deletions APPS-REGISTRY.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
# Designr App Registry
# Designr Apps Registry

**Last Updated:** January 16, 2026
**Total Apps:** 4
**Production Ready:** 3 ✅
**Beta:** 1 🔧

Central registry of all apps available in the Designr App Store.

---

## 📊 Registry Overview

| App | Version | Status | Type | Repo | --- | --- | --- | --- | --- | --- | --- | DesignrLabs | 1.0.0 | ✅ Production | Next.js | flatfinderai-cyber/DesignrLabs | --- | Designr Hub | 1.0.0 | ✅ Production | Next.js | flatfinderai-cyber/Designr | --- | PRD Generator | 1.0.0 | ✅ Production | Next.js | Designr/PRDGenerator | --- | YouTube App | 0.1.0 | 🔧 Beta | Node.js | Designr/YoutubeApp |

---

## 📱 Apps Registry

### DesignrLabs
**ID**: `designr-labs`

**Transform hand-drawn sketches into production-ready code**
#### Transform hand-drawn sketches into production-ready code

Convert UI sketches from paper, whiteboard, or iPad into interactive web applications with AI detection and code export.

| Property | Value |
|----------|-------|
| **Repository** | https://github.com/flatfinderai-cyber/DesignrLabs |
| **Website** | https://designrlabs.com |
| **Version** | 0.0.1 |
| **Status** | Developing |
| **Launch** | Q2 2026 |
| **Owner** | Designr Labs Team |
| Property | Value | --- | --- | --- | --- | **Repository** | [github.com/flatfinderai-cyber/DesignrLabs](https://github.com/flatfinderai-cyber/DesignrLabs) | --- | **Website** | [designrlabs.com](https://designrlabs.com) | --- | **Version** | 0.0.1 | --- | **Status** | Developing | --- | **Launch** | Q2 2026 | --- | **Owner** | Designr Labs Team |

**Features**:
- Sketch Upload (drag-drop, camera, batch)
Expand All @@ -45,15 +49,16 @@ Convert UI sketches from paper, whiteboard, or iPad into interactive web applica
- Team: $99/month (5 seats, API access)

**API Endpoints**:
```
```bash

POST /api/sketches/upload
POST /api/ai/detect-elements
POST /api/ai/generate-ui
POST /api/export/code
POST /api/deploy
```

**Health Check**: https://designrlabs.com/health
**Health Check**: [designrlabs.com/health](https://designrlabs.com/health)

---

Expand All @@ -74,18 +79,11 @@ To submit your app to the Designr App Store:
### Your App Name
**ID**: `your-app-id`

**One-line description of what your app does**
#### One-line description of what your app does

Longer description with details about features and benefits.

| Property | Value |
|----------|-------|
| **Repository** | https://github.com/your-org/your-app |
| **Website** | https://your-app.com |
| **Version** | 0.0.1 |
| **Status** | Developing/Beta/Stable |
| **Launch** | Q2 2026 |
| **Owner** | Your Team Name |
| Property | Value | --- | --- | --- | --- | **Repository** | [github.com/your-org/your-app](https://github.com/your-org/your-app) | --- | **Website** | [your-app.com](https://your-app.com) | --- | **Version** | 0.0.1 | --- | **Status** | Developing/Beta/Stable | --- | **Launch** | Q2 2026 | --- | **Owner** | Your Team Name |

**Features**:
- Feature 1
Expand All @@ -103,25 +101,20 @@ Longer description with details about features and benefits.
- Team: Description

**API Endpoints**:
```
```bash

GET /api/...
POST /api/...
```

**Health Check**: https://your-app.com/health
**Health Check**: [your-app.com/health](https://your-app.com/health)
```

---

## 📊 Registry Statistics

| Metric | Value |
|--------|-------|
| Total Apps | 1 |
| Apps Developing | 1 |
| Apps Stable | 0 |
| Total Users (Estimated) | TBD |
| Total MRR | TBD |
| Metric | Value | --- | --- | --- | --- | Total Apps | 1 | --- | Apps Developing | 1 | --- | Apps Stable | 0 | --- | Total Users (Estimated) | TBD | --- | Total MRR | TBD |

---

Expand All @@ -130,7 +123,8 @@ POST /api/...
Each app provides these standard endpoints:

### Health Check
```
```bash

GET /health

Response:
Expand All @@ -142,7 +136,8 @@ Response:
```

### User Profile
```
```bash

GET /api/v1/users/me

Headers:
Expand All @@ -153,13 +148,14 @@ Response:
"id": "uuid",
"email": "user@example.com",
"name": "User Name",
"avatar": "https://...",
"avatar": "[...",](https://...",)
"created_at": "2025-01-16T10:30:00Z"
}
```

### Projects/Workspace
```
```bash

GET /api/v1/projects

Response:
Expand All @@ -186,7 +182,8 @@ All apps support these auth methods:

Inter-app authentication uses API keys:

```
```bash

Authorization: Bearer designr-app-<app-id>-<api-key>
X-App-ID: designr-labs
X-Request-ID: uuid
Expand All @@ -205,7 +202,7 @@ POST /api/v1/webhooks/register
{
"target_app": "designr-labs",
"event": "sketch.created",
"webhook_url": "https://your-app.com/webhooks/designr-labs",
"webhook_url": "[your-app.com/webhooks/designr-labs",](https://your-app.com/webhooks/designr-labs",)
"events": [
"sketch.created",
"sketch.processed",
Expand Down Expand Up @@ -241,10 +238,10 @@ POST /api/v1/webhooks/register

## 📞 Support

- **Developer Slack**: [Join](https://slack.designr.store)
- **GitHub Issues**: [Report issues](https://github.com/flatfinderai-cyber/Designr/issues)
- **Developer Slack**: [Join]([slack.designr.store](https://slack.designr.store))
- **GitHub Issues**: [Report issues]([github.com/flatfinderai-cyber/Designr/issues](https://github.com/flatfinderai-cyber/Designr/issues))
- **Email**: developers@designr.store
- **Discord**: [Community](https://discord.gg/designr)
- **Discord**: [Community]([discord.gg/designr](https://discord.gg/designr))

---

Expand Down
153 changes: 153 additions & 0 deletions DISTRIBUTION-INFO.md
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
Loading