A beautiful, cross-platform desktop notes app built with Flutter. Markdown editing with live preview, daily notes, cloud sync via Supabase, and automatic update notifications — all packaged as a native app for Windows, macOS, and Linux.
| Feature | Description |
|---|---|
| Markdown Editor | Write in plain Markdown source — there is no WYSIWYG layer, so what you type is exactly what is stored |
| Live Preview & Split View | Toggle between edit, rendered preview, and side-by-side split with Cmd/Ctrl + E; the chosen mode is remembered |
| Daily Notes | A note is automatically created each day and opened at startup |
| Projects / Folders | Organise notes into colour-coded projects; filter from the sidebar |
| Pinned Notes | Pin important notes to a dedicated tab for quick access |
| Full-Text Search | Instant search across all titles and content via a floating dropdown |
| Calendar View | Browse notes by date on a monthly calendar |
| Focus Timer | Built-in Pomodoro-style timer to stay productive |
| Auto-Save | Notes are saved automatically 800 ms after you stop typing |
| Cloud Sync | Optional sign-in (Google or email) syncs notes across devices via Supabase |
| Beautiful Theming | 10+ accent colours, dark / light mode, animated wallpaper backgrounds |
| Auto-Update | The app checks GitHub Releases on startup and notifies you when a new version is available |
NoteX follows Hexagonal Architecture (Ports & Adapters) with Domain-Driven Design principles:
lib/
├── domain/ # Entities, repositories (interfaces), domain services
├── application/ # Use cases — orchestrate domain objects
├── infrastructure/ # Adapters: Drift (SQLite), Supabase, GitHub API, …
└── presentation/ # Flutter widgets, pages, state (ChangeNotifier)
Dependency injection is handled by GetIt; all wiring lives in lib/injection.dart.
- Flutter SDK 3.44.9 (stable) — the version CI pins in
.github/workflows/ - A Supabase project (free tier works great)
git clone https://github.com/ismaelosuna7824/noteX.git
cd noteX/notexNoteX reads sensitive credentials from compile-time defines — they are never stored in source code.
# Copy the template
cp dart_defines.json.example dart_defines.jsonOpen dart_defines.json and fill in your values:
{
"SUPABASE_URL": "https://your-project-id.supabase.co",
"SUPABASE_ANON_KEY": "your-supabase-anon-key"
}
dart_defines.jsonis listed in.gitignoreand will never be committed.
flutter pub get# Windows
flutter run -d windows --dart-define-from-file=dart_defines.json
# macOS
flutter run -d macos --dart-define-from-file=dart_defines.json
# Linux
flutter run -d linux --dart-define-from-file=dart_defines.json- Download
NoteX-macos.zipfrom the latest release - Double-click the ZIP to extract
notex.app - Drag
notex.appinto your Applications folder - Double-click to open — macOS will show "NoteX Not Opened" because the app is not notarized with an Apple Developer certificate. Click Done.
- Open System Settings → Privacy & Security, scroll down to the Security section — you will see "NoteX was blocked to protect your Mac". Click Open Anyway.
- macOS will ask one more time: "Open NoteX?" — click Open Anyway to confirm.
After doing this once, NoteX will open normally from then on.
Alternative — Terminal (skip all dialogs):
xattr -dr com.apple.quarantine /Applications/notex.appThen open NoteX normally with a double-click.
# Windows
flutter build windows --release --dart-define-from-file=dart_defines.json
# macOS
flutter build macos --release --dart-define-from-file=dart_defines.json
# Linux
flutter build linux --release --dart-define-from-file=dart_defines.jsonThe repository includes a GitHub Actions workflow (.github/workflows/release.yml) that:
- Triggers when you push a tag that matches
v*(e.g.v1.1.0) - Builds native binaries for Windows, macOS, and Linux in parallel
- Creates a GitHub Release and attaches the archives automatically
⚠️ The tag version must matchcurrentVersioninAppConfig— otherwise the auto-updater shows a false "update available" banner to users who already have the latest build.
Step 1 — Bump the version, and write the notes
pubspec.yaml:
version: 1.1.0+2 # number before + = public version, after + = build numberlib/infrastructure/config/app_config.dart:
static const String currentVersion = '1.1.0'; // must match the tagrelease_notes/v1.1.0.md — what changed, in prose, for the people using the
app. scripts/release_notes.sh puts this at the top of the GitHub Release.
Nothing else carries a version by hand. The macOS bundle
($(FLUTTER_BUILD_NAME)), the Windows executable (FLUTTER_VERSION), the DEB
package, and the Inno Setup installer all derive theirs from pubspec.yaml at
build time. That last one was a literal in windows/notex_installer.iss until
1.62.0, and it silently shipped 1.59.0 for three releases — if you ever add a
fourth place that needs the version, teach the build to read it rather than
adding another copy to keep in sync.
Step 2 — Commit and push
git add pubspec.yaml lib/infrastructure/config/app_config.dart release_notes/v1.1.0.md
git commit -m "chore(release): 1.1.0"
git pushStep 3 — Tag and push
PowerShell (Windows):
git tag v1.1.0
git push origin v1.1.0Bash (macOS / Linux):
git tag v1.1.0 && git push origin v1.1.0The GitHub Actions workflow picks up the tag, builds for all three platforms, and creates the Release automatically.
Go to Settings → Secrets and variables → Actions in your GitHub repository and add:
| Secret name | Value |
|---|---|
SUPABASE_URL |
Your Supabase project URL |
SUPABASE_ANON_KEY |
Your Supabase anon/public key |
The workflow passes these to Flutter via --dart-define so no secret is embedded in the repository.
- Create a new project at supabase.com.
- Enable Email and/or Google authentication in Authentication → Providers.
- For Google OAuth, add your OAuth credentials in the Supabase dashboard and configure the redirect URL.
- Copy your project URL and
anonkey intodart_defines.json.
The app uses Row-Level Security (RLS) — each user only sees their own notes.
| Package | Purpose |
|---|---|
flutter_markdown_plus + markdown |
Markdown parsing and rendering |
drift + sqlite3_flutter_libs |
Local SQLite persistence |
supabase_flutter |
Cloud sync & authentication |
get_it |
Dependency injection |
window_manager + flutter_acrylic |
Frameless window & acrylic blur |
url_launcher |
Open links in the system browser |
http |
GitHub API calls for update checks |
table_calendar |
Calendar view |
Pull requests are welcome. For major changes please open an issue first to discuss what you would like to change.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes
- Push to the branch and open a Pull Request
MIT — see LICENSE for details.