Skip to content

Commit 640939f

Browse files
Prepare OSS readiness package
Adds OSS documentation, setup guides, release checklist, issue backlog, security notes, CI workflow, templates, and README improvements for App Dev Planner public-readiness.
1 parent 2b08b60 commit 640939f

17 files changed

Lines changed: 875 additions & 67 deletions

.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Copy this file to .env.local for local development.
2+
# Do not commit .env.local or any real credentials.
3+
4+
NEXT_PUBLIC_SUPABASE_URL=
5+
NEXT_PUBLIC_SUPABASE_ANON_KEY=
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: Documentation
3+
about: Suggest a documentation improvement
4+
title: "docs: "
5+
labels: documentation
6+
assignees: ""
7+
---
8+
9+
## Documentation area
10+
11+
Which page, file, or section should be improved?
12+
13+
## Problem
14+
15+
What is unclear, missing, outdated, or hard to follow?
16+
17+
## Suggested improvement
18+
19+
Describe the change you would like to see.
20+
21+
## Additional context
22+
23+
Add links, screenshots, examples, or related issues if helpful.

.github/workflows/ci.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: CI
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
- main
9+
- oss-readiness
10+
11+
jobs:
12+
build:
13+
name: Lint and build
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 20
24+
cache: npm
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Lint
30+
run: npm run lint
31+
32+
- name: Build
33+
run: npm run build
34+
env:
35+
NEXT_PUBLIC_SUPABASE_URL: https://example.supabase.co
36+
NEXT_PUBLIC_SUPABASE_ANON_KEY: dummy-anon-key-for-ci

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ yarn-error.log*
3232

3333
# env files (can opt-in for committing if needed)
3434
.env*
35+
!.env.example
3536

3637
# vercel
3738
.vercel

CODE_OF_CONDUCT.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# Code of Conduct
2+
3+
App Dev Planner aims to be a respectful, practical, and welcoming project for people who want to improve app planning workflows.
4+
5+
## Expected behavior
6+
7+
- Be kind and professional.
8+
- Assume good intent, especially when discussing early ideas or incomplete work.
9+
- Give feedback that is specific, useful, and focused on the project.
10+
- Respect different experience levels, languages, backgrounds, and working styles.
11+
- Keep issues and pull requests constructive and on topic.
12+
13+
## Unacceptable behavior
14+
15+
- Harassment, insults, threats, or personal attacks.
16+
- Discriminatory language or behavior.
17+
- Publishing private information without permission.
18+
- Repeated off-topic comments or spam.
19+
- Any behavior that makes collaboration unsafe or hostile.
20+
21+
## Reporting
22+
23+
If you see behavior that violates this code of conduct, contact the project maintainer privately. The maintainer may remove comments, close issues, block users, or take other reasonable action to keep the project healthy.
24+
25+
## Scope
26+
27+
This code of conduct applies to project spaces including issues, pull requests, discussions, documentation, and related community channels.

README.md

Lines changed: 142 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,106 @@
11
# App Dev Planner
22

3-
App Dev Planner is an open-source planning workspace for turning rough app ideas into structured technical specifications, implementation roadmaps, and exportable development briefs.
3+
App Dev Planner is an open-source planning workspace for turning rough app ideas into technical specs, roadmaps, and developer-ready briefs.
44

5-
The project is designed for solo developers, indie hackers, small teams, and AI-assisted builders who need a repeatable way to clarify product scope before writing code. Instead of starting with a blank document, App Dev Planner guides users through product, technical, and implementation questions, then converts the answers into a structured technical planning document.
5+
The project is currently an early MVP under active development. It is being prepared for a stronger public/open-source release posture, but it should still be treated as a work in progress.
66

7-
## Why this exists
7+
## Problem
88

9-
Many early-stage app ideas fail because the planning stage is scattered across chat logs, notes, docs, screenshots, and unfinished prompts. App Dev Planner aims to make that process more consistent by providing a focused workflow for:
9+
Early app ideas often live across chat logs, notes, screenshots, and unfinished documents. That makes it hard for builders to clarify scope, identify technical risks, and hand a project to a developer or AI coding agent with enough context.
1010

11-
- defining the app concept and target users;
12-
- clarifying core features and MVP scope;
13-
- documenting authentication, data, UI, and architecture needs;
14-
- generating a technical development brief from guided answers;
15-
- exporting planning output for developers, AI coding agents, or project handoff.
11+
App Dev Planner provides a guided planning flow that turns product, technical, security, testing, deployment, and maintenance answers into a structured technical blueprint.
1612

17-
## Current MVP scope
13+
## Target users
1814

19-
The current MVP includes the foundation for:
15+
- Solo developers validating a new app idea before implementation.
16+
- Indie hackers turning product ideas into actionable build plans.
17+
- Freelancers collecting clearer client requirements.
18+
- Product-minded builders preparing developer-ready briefs.
19+
- Students or small teams documenting capstone, MVP, or internal-tool plans.
20+
- AI-assisted builders who want better prompts, specs, and handoff documents.
2021

21-
- user authentication flow;
22-
- dashboard and project list;
23-
- new project creation with app type selection;
24-
- guided brainstorming across multiple planning sections;
25-
- autosaved planning answers;
26-
- generated technical documentation from user answers;
27-
- document preview;
28-
- HTML and Markdown export workflow;
29-
- project progress tracking and project detail actions;
30-
- landing page with product positioning.
22+
## What the app currently does
23+
24+
Based on the current codebase, App Dev Planner includes:
25+
26+
- A public landing page introducing the planning workflow.
27+
- Email/password registration and login through Supabase Auth.
28+
- A protected dashboard that lists the signed-in user's projects.
29+
- Project creation with app name, app type, description, and draft status.
30+
- A guided brainstorming flow with 12 sections and 55 questions.
31+
- Autosaved brainstorming answers stored in Supabase.
32+
- Project detail pages with progress tracking across answered questions.
33+
- Markdown technical blueprint generation from saved answers.
34+
- Preview of the generated technical blueprint.
35+
- Client-side export to visual HTML and Markdown.
36+
- PDF export guidance through browser print from the generated HTML.
37+
- Project deletion that removes related brainstorming answers and generated documents.
38+
39+
## Current limitations
40+
41+
- The app expects a Supabase project and compatible tables/policies to exist.
42+
- Database migrations are not yet included in the repository.
43+
- Automated tests are not yet present.
44+
- CI is limited to dependency install, lint, and build checks.
45+
- Screenshots, demo video, and hosted demo links still need to be added.
46+
- Some generated blueprint sections describe intended architecture and future capabilities, not all of which are implemented as app routes today.
3147

3248
## Tech stack
3349

34-
- Next.js
35-
- React
50+
- Next.js 16 App Router
51+
- React 19
3652
- TypeScript
37-
- Tailwind CSS
38-
- Supabase
39-
- DOCX/document export utilities
53+
- Tailwind CSS 4
54+
- Supabase Auth and PostgreSQL
55+
- `@supabase/ssr` and `@supabase/supabase-js`
56+
- `file-saver` for browser downloads
57+
- `docx` dependency reserved for document export work
58+
- ESLint
59+
60+
## Project structure
61+
62+
```text
63+
app/
64+
page.tsx Public landing page
65+
(auth)/login/page.tsx Login page
66+
(auth)/register/page.tsx Registration page
67+
auth/logout/route.ts Logout route
68+
dashboard/page.tsx Protected project dashboard
69+
projects/new/page.tsx Project creation
70+
projects/[id]/page.tsx Project detail and progress
71+
projects/[id]/brainstorming/ Guided planning questions
72+
projects/[id]/preview/ Generated blueprint preview
73+
projects/[id]/export/ Export UI and client-side exporters
74+
lib/
75+
supabase-browser.ts Browser Supabase client
76+
supabase-server.ts Server Supabase client
77+
supabase.ts Shared Supabase client
78+
proxy.ts Supabase session refresh and route protection
79+
```
4080

41-
## Getting started
81+
## Local setup
4282

43-
Clone the repository and install dependencies:
83+
Clone the repository:
4484

4585
```bash
4686
git clone https://github.com/marcomartinomarch2005/app-dev-planner.git
4787
cd app-dev-planner
88+
```
89+
90+
Install dependencies:
91+
92+
```bash
4893
npm install
4994
```
5095

96+
Create a local environment file:
97+
98+
```bash
99+
cp .env.example .env.local
100+
```
101+
102+
Fill in your local Supabase values in `.env.local`.
103+
51104
Run the development server:
52105

53106
```bash
@@ -58,58 +111,86 @@ Open `http://localhost:3000` in your browser.
58111

59112
## Environment variables
60113

61-
This project uses Supabase. Create a `.env.local` file and add the required Supabase values for your local environment.
114+
Only public Supabase browser values are required by the current app code:
62115

63116
```bash
64-
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
65-
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key
117+
NEXT_PUBLIC_SUPABASE_URL=
118+
NEXT_PUBLIC_SUPABASE_ANON_KEY=
66119
```
67120

68-
Do not commit real API keys, database credentials, service-role keys, or private environment values.
121+
Use `.env.local` for real values. Do not commit `.env.local`, service-role keys, database passwords, or other private credentials.
69122

70-
## Roadmap
123+
## Supabase setup notes
124+
125+
The code currently reads and writes these tables:
126+
127+
- `projects`
128+
- `brainstorming_answers`
129+
- `generated_documents`
130+
- `export_history`
131+
132+
The app assumes authenticated users can only access their own project data. Before a public demo or production deployment, confirm Row Level Security policies, table constraints, and delete behavior in Supabase.
133+
134+
See [docs/SUPABASE_SETUP.md](./docs/SUPABASE_SETUP.md) for setup notes, schema outline, and RLS reminders.
135+
136+
## Screenshots and demo
137+
138+
Screenshots and demo materials are still pending.
71139

72-
Planned improvements include:
140+
Suggested additions before public launch:
73141

74-
- stronger README screenshots and demo flow;
75-
- public demo deployment;
76-
- issue templates and pull request template;
77-
- richer document export options;
78-
- AI-assisted specification review;
79-
- implementation task generation;
80-
- project templates for SaaS, internal tools, content tools, and automation apps;
81-
- test coverage and CI workflow;
82-
- security hardening around auth and data access.
142+
- Landing page screenshot.
143+
- Dashboard screenshot with sample data.
144+
- Brainstorming flow screenshot.
145+
- Generated blueprint preview screenshot.
146+
- Exported HTML/Markdown sample.
147+
- Short demo video or hosted demo link.
83148

84-
## How AI/Codex can help this project
149+
See [docs/screenshots/README.md](./docs/screenshots/README.md) for screenshot placement, naming, and privacy guidance.
85150

86-
App Dev Planner is a strong candidate for AI-assisted maintenance because its core workflow is about structured planning, specification generation, and developer handoff. Codex/API support could help with:
151+
## Documentation
87152

88-
- reviewing generated technical specifications;
89-
- creating implementation task lists from planning answers;
90-
- improving test coverage;
91-
- detecting gaps in app architecture documents;
92-
- maintaining documentation and examples;
93-
- improving contributor onboarding;
94-
- automating issue triage and release preparation.
153+
- [Supabase setup](./docs/SUPABASE_SETUP.md)
154+
- [Public release checklist](./docs/PUBLIC_RELEASE_CHECKLIST.md)
155+
- [Issue backlog drafts](./docs/ISSUE_BACKLOG.md)
156+
- [Screenshot guidance](./docs/screenshots/README.md)
157+
- [Open-source application notes](./docs/OPEN_SOURCE_APPLICATION_NOTES.md)
158+
159+
## Roadmap
160+
161+
See [ROADMAP.md](./ROADMAP.md) for the current public-readiness roadmap.
162+
163+
Near-term themes include:
164+
165+
- Public release readiness.
166+
- Documentation and demo assets.
167+
- Export improvements.
168+
- AI-assisted specification review.
169+
- Testing and CI.
170+
- Security hardening.
171+
- App planning templates.
95172

96173
## Contributing
97174

98-
Contributions are welcome once the repository is made public. Please read `CONTRIBUTING.md` before opening an issue or pull request.
175+
Contributions are welcome once the repository is public. Please read [CONTRIBUTING.md](./CONTRIBUTING.md) before opening an issue or pull request.
99176

100177
Good first contribution areas include:
101178

102-
- improving documentation;
103-
- adding screenshots or demo walkthroughs;
104-
- refining question flows;
105-
- improving export formatting;
106-
- adding tests;
107-
- improving accessibility and UI clarity.
179+
- Improving setup documentation.
180+
- Adding screenshots or demo walkthroughs.
181+
- Refining planning questions.
182+
- Improving generated blueprint formatting.
183+
- Adding tests.
184+
- Improving accessibility and UI clarity.
108185

109186
## Security
110187

111-
Please do not open public issues for sensitive security reports. See `SECURITY.md` for responsible disclosure guidance.
188+
Please do not open public issues for sensitive security reports. See [SECURITY.md](./SECURITY.md) for responsible disclosure guidance.
189+
190+
## Code of conduct
191+
192+
This project uses a concise contributor code of conduct. See [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md).
112193

113194
## License
114195

115-
This project is released under the MIT License. See `LICENSE` for details.
196+
This project is released under the MIT License. See [LICENSE](./LICENSE) for details.

0 commit comments

Comments
 (0)