Skip to content
Back to search

drafto

Note-taking web app at drafto.eu

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/jakubanderwald--drafto/badge.svg)](/listings/jakubanderwald--drafto)

HTML

<a href="/listings/jakubanderwald--drafto"><img src="/api/listings/jakubanderwald--drafto/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

Install instructions from the README

As written by the repo's author. findsafeskills has not verified these steps.

Prerequisites

- Node.js 22+ - [pnpm](https://pnpm.io/) - A [Supabase](https://supabase.com/) project + [Supabase CLI](https://supabase.com/docs/guides/cli/getting-started) - [Playwright browsers](https://playwright.dev/) — `pnpm exec playwright install` (for E2E)

For mobile dev: [Expo CLI](https://docs.expo.dev/get-started/set-up-your-environment/), Android SDK, Xcode. For desktop dev: Xcode, CocoaPods (`gem install cocoapods`), Ruby 3.3.7 via rbenv.

Full first-time setup guide: [`docs/operations/local-dev-setup.md`](./docs/operations/local-dev-setup.md).

Setup

git clone https://github.com/JakubAnderwald/drafto.git
cd drafto
pnpm install

# Configure web env
cp apps/web/.env.local.example apps/web/.env.local
# Fill in NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY

# Push schema to your Supabase project
supabase link --project-ref <your-project-ref>
supabase db push

# Run the dev server
pnpm dev

Open [http://localhost:3000](http://localhost:3000).

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 113 lines
  1. # Drafto
  2. A note-taking app with notebooks, rich text editing, and auto-save. Available as a web app, iOS + Android apps, and a macOS desktop app — all with offline support.
  3. **Live:** [drafto.eu](https://drafto.eu)
  4. ## Features
  5. - **Notebooks** — flat list of notebooks to organize notes
  6. - **Notes** — rich text with auto-save (BlockNote on web, TenTap on mobile/desktop)
  7. - **Offline support** — mobile and desktop use WatermelonDB locally and sync to Supabase when online
  8. - **Authentication** — email/password with email confirmation, plus Google and Apple OAuth; admin approval gates new accounts
  9. - **Dark mode** — system-aware theme toggle, persisted in localStorage
  10. - **Evernote import** — import notes from `.enex` files with full content and attachment support
  11. - **MCP server** — expose your notes to Claude Desktop, Claude Cowork, and other MCP clients via `eu.drafto/mcp` on the [MCP Registry](https://registry.modelcontextprotocol.io)
  12. - **Real-time support pipeline** — mail to `support@drafto.eu` is polled every 5 minutes by a Mac-mini-resident agent, classified by Claude Code, and synced bidirectionally with GitHub issues; see [`docs/features/support-agent.md`](./docs/features/support-agent.md)
  13. See [`docs/features/`](./docs/features/) for one brief per functional area (code paths, ADRs, testing).
  14. ## Tech Stack
  15. | Area | Stack |
  16. | ---------- | ------------------------------------------------------------------------------------ |
  17. | Web | Next.js 16 (App Router, Turbopack), React 19, TypeScript, Tailwind CSS v4, BlockNote |
  18. | Mobile | Expo 55, React Native 0.84, expo-router, TenTap editor, WatermelonDB |
  19. | Desktop | React Native macOS 0.81.5, TenTap editor, WatermelonDB (shared with mobile) |
  20. | Backend | Supabase (Postgres + Auth + Storage + RLS) |
  21. | Hosting | Vercel (web), Fastlane → App Store / Play Store / Mac App Store |
  22. | Monitoring | Sentry (errors), PostHog (analytics) |
  23. | Testing | Vitest, Testing Library, Playwright, Jest, Maestro |
  24. | Monorepo | pnpm workspaces + Turborepo |
  25. Architecture deep-dive: [`docs/architecture/overview.md`](./docs/architecture/overview.md).
  26. ## Getting Started
  27. ### Prerequisites
  28. - Node.js 22+
  29. - [pnpm](https://pnpm.io/)
  30. - A [Supabase](https://supabase.com/) project + [Supabase CLI](https://supabase.com/docs/guides/cli/getting-started)
  31. - [Playwright browsers](https://playwright.dev/) — `pnpm exec playwright install` (for E2E)
  32. For mobile dev: [Expo CLI](https://docs.expo.dev/get-started/set-up-your-environment/), Android SDK, Xcode.
  33. For desktop dev: Xcode, CocoaPods (`gem install cocoapods`), Ruby 3.3.7 via rbenv.
  34. Full first-time setup guide: [`docs/operations/local-dev-setup.md`](./docs/operations/local-dev-setup.md).
  35. ### Setup
  36. ```bash
  37. git clone https://github.com/JakubAnderwald/drafto.git
  38. cd drafto
  39. pnpm install
  40. # Configure web env
  41. cp apps/web/.env.local.example apps/web/.env.local
  42. # Fill in NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY
  43. # Push schema to your Supabase project
  44. supabase link --project-ref <your-project-ref>
  45. supabase db push
  46. # Run the dev server
  47. pnpm dev
  48. ```
  49. Open [http://localhost:3000](http://localhost:3000).
  50. ## Scripts
  51. Dev commands live here. Build / release / deployment commands live in [`docs/operations/builds-and-releases.md`](./docs/operations/builds-and-releases.md).
  52. | Command | Description |
  53. | ---------------------- | ---------------------------------------------------------------- |
  54. | `pnpm dev` | Start dev server (all apps) |
  55. | `pnpm build` | Production build |
  56. | `pnpm lint` | ESLint (all packages) |
  57. | `pnpm format:check` | Prettier check |
  58. | `pnpm test` | Unit + integration tests |
  59. | `pnpm typecheck` | TypeScript check |
  60. | `pnpm migration:check` | Check migrations for destructive SQL and missing Data API grants |
  61. Per-app test commands: [`docs/architecture/testing.md`](./docs/architecture/testing.md).
  62. ## Project Layout
  63. ```text
  64. apps/
  65. web/ Next.js web app (App Router)
  66. mobile/ Expo + React Native iOS/Android
  67. desktop/ React Native macOS
  68. packages/
  69. shared/ TypeScript types + constants (@drafto/shared)
  70. supabase/
  71. migrations/
  72. docs/
  73. features/ Per-area briefs (auth, notes, editor, sync, search, MCP, …)
  74. architecture/ System shape (overview, environments, testing)
  75. operations/ Runbooks (local-dev-setup, builds-and-releases, migrations)
  76. adr/ Architecture Decision Records
  77. archive/ Historical plans (not source of truth)
  78. ```
  79. Full index: [`docs/README.md`](./docs/README.md).
  80. ## Contributing
  81. All work goes through branches + PRs — see [`CLAUDE.md`](./CLAUDE.md) for the project conventions (worktree workflow, SOLID, testing requirements, production safety rails). Decisions are recorded in [`docs/adr/`](./docs/adr/).
  82. ## License
  83. Private project.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.