GitHub - pi22by7/flowrite: Open-source Songwriting.

GitHub

6 min read Original article β†—

Flowrite Logo

Flutter Dart Supabase License: AGPL v3

Release Build Status

🌐 Try Web Demo | πŸ“₯ Download | Current Version: v4.0.0 | Flutter: 3.47.9

A songwriter's sanctuary. Write lyrics anywhere, sync everywhere, lose nothing.

Run Flowrite on your own Linux server with Docker Compose, without Supabase or Google sign-in. See the self-hosting and offline setup guide.

πŸ’– Why This Exists

I started coding to build tools for my own creative work. My first vision was a simple space for songwriting, but I found almost nothing open source to learn from. That detour taught me what I needed to know, and now I'm back to that original dream.

Flowrite is built on a simple belief: creating art should be free, uninterrupted, and yours.

Picture this: you're mid-verse when the perfect line hits, then a full-screen ad breaks your flow. Or the app you trusted with your most personal work shuts down, taking everything with it.

Creative tools should be:

  • Accessible to anyone, regardless of what they can pay
  • Transparent about how they handle your work
  • Sustainable through community, not extraction
  • Educational for anyone who wants to learn

This is my contribution to that vision.

πŸ“± Screenshots

✨ What Makes It Different

A Calm Space to Write Warm cream and charcoal palette. Time-aware greetings. Centered composition. Breathing button animation. Focus mode to hide everything but your words.

Your Work, Always Safe Local-first architecture saves instantly. Sync happens quietly in background. Works offline, syncs when you're back. Smart retry with exponential backoff. Multi-device conflict resolution. Pending edits are retried after reconnecting.

Songwriter's Tools Visual syllable patterns (dots, triangles, hexagons) that adapt to 1-12 syllables. Watercolor rhyme highlighting in 15 soft colors. CMU Pronouncing Dictionary with 126K+ words. Poetic rhyme categories: True Echoes, Gentle Echoes, Close Harmonies.

Chords Attached to Lyrics Highlight a lyric and choose Attach chord from the selection menu, or use the music note button at the cursor. Chords appear above the lyrics and follow them as you edit. Drag a chord onto another word to move it; click to type a chord inline. Press Enter or click elsewhere to save, Escape to cancel, or clear the chord to remove it. Deleting the attached word removes its chord. Use the top-right Chords switch to hide or show chords; hidden chords remain attached as you edit, and their extra spacing collapses. The app remembers your choice. Songs with chords save and export as marked ChordPro text ([Am]lyrics), keeping chords together with the song during sync.

Song Sections Type Markdown headings such as ## Verse 1, ## Chorus, or ## Bridge. Headings display as bold section names, with the # markers hidden in the editor and preserved when saved or exported. Use the Add section heading button beside the song title to insert common sections, format the current line, or remove heading formatting. Section labels are excluded from rhyme colors and syllable counts.

Just Works 3-second autosave. Material 3 with dynamic color. Adaptive theming. Premium typography (34pt/18pt, 1.65 line height). File sorting and organization. Secure Google Sign-in. No ads, no paywalls.

πŸ“₯ Download

Pre-built releases for Android, Linux, Windows, and macOS:

πŸ“₯ Get Flowrite

πŸš€ Quick Start

Users: Download, open, write. Optionally connect WebDAV or Supabase to sync across devices.

Developers: Clone, copy .env.example to .env, run flutter pub get && flutter run.

See setup details below.

πŸ› οΈ For Developers

Prerequisites

  • Flutter SDK (latest stable)
  • Optional: a WebDAV server, or a Supabase project with Google OAuth, for sync
  • Android Studio or VS Code

Setup

git clone https://github.com/pi22by7/flowrite.git
cd flowrite
cp .env.example .env  # Cloud credentials are optional
flutter pub get
flutter run

Testing

flutter test                      # Unit tests
flutter test integration_test/    # Integration tests

The Validate all platforms workflow runs analysis and the shared unit/widget tests on pushes and pull requests, and compiles web, Android, iOS Simulator, Linux, macOS, and Windows builds. It also supports manual runs in GitHub Actions. It uses .env.example and does not publish builds or connect to production. Android validation uses a debug APK; iOS validation uses an unsigned simulator build. These checks do not verify store signing or installation on a device.

Run flutter doctor -v and flutter devices to check local platform support. Android needs the Android SDK and an emulator or connected device. Linux needs Clang, CMake, Ninja, and GTK development libraries. iOS/macOS builds require macOS with Xcode; Windows builds require Windows with Visual Studio's C++ tools.

Shared widget tests exercise the editor without a native device. Before a release, also run the app on each target device/simulator and check selecting lyrics, attaching/editing/dragging chords, inserting text before an attached word, headers and spaces, chord visibility, and saving/reopening the song and dashboard preview. Check phone and desktop widths, light/dark themes, text size, rhyme colors, and the full breathing-room range. Native keyboards, touch selection, and OS input methods require this additional device testing.

Screenshots

./scripts/generate_screenshots.sh  # Automated screenshot generation

Screenshots save to assets/screenshots/. See docs/SCREENSHOTS.md for details.

Building

./scripts/build.sh android        # Android APK/AAB
./scripts/build.sh linux          # Linux tar.gz
./scripts/build.sh all            # All platforms

Releasing

./scripts/release.sh 4.0.1        # Bump version, create tag
git push origin main && git push origin v4.0.1

GitHub Actions handles automated builds for Android, Linux, Windows, macOS.

πŸ—ΊοΈ What's Next

Done: Theme system, file management, cloud sync, offline support, Material 3 UI, rhyme detection, syllable counting, CI/CD pipeline

Coming: Markdown formatting, inline text styling, better error handling, performance optimization, comprehensive testing, crash reporting, analytics, import/export, collaboration, plugin system

Want to help? See Contributing.

πŸ—οΈ Built With

🀝 Contributing

All contributions welcome. Beginner-friendly tasks in TODO.md, from simple UI tweaks to complex backend work.

  1. Fork the project
  2. Create feature branch (git checkout -b feature/YourFeature)
  3. Commit changes (git commit -m 'Add YourFeature')
  4. Push to branch (git push origin feature/YourFeature)
  5. Open pull request

Resources: TODO | Contributing Guide | Build Guide | Code of Conduct

πŸ“š Documentation

πŸ”’ Privacy

  • Optional sync to your own WebDAV server; use HTTPS for transport encryption
  • Synced document JSON is readable on the server; end-to-end encryption is not implemented
  • Optional Google OAuth when using Supabase
  • Local-first data storage
  • No tracking, no ads

πŸ“„ License

AGPL-3.0 - see LICENSE file.

πŸ“§ Contact

Ο€ - talk@pi22by7.me Project: https://github.com/pi22by7/flowrite


Made with ❀️ by Ο€