Skip to content

Latest commit

History

538 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

lintflutter
LintFlutter

Browser

Screenshot

Flutter desktop browser with tabs, bookmarks, history, and encrypted settings storage. The app runs on macOS, Windows, and Linux.

Quick start

Clone the repo, install dependencies, and launch the macOS bundle.

git clone https://github.com/bniladridas/browser.git
cd browser
flutter pub get
cp .env.example .env # populate Firebase values before running
flutterfire configure --platforms macos
git checkout -- lib/firebase_options.dart # keep runtime env vars
flutter run -d macos

Do not commit .env; it contains private Firebase keys.

Firebase configuration

Firebase values are read from .env at runtime. The generated lib/firebase_options.dart stays under version control and references const String placeholders.

regenerate platform files after changing Firebase config
  1. Update .env with the new Firebase project credentials.
  2. Run flutterfire configure --platforms macos to refresh the generated files.
  3. Run git checkout -- lib/firebase_options.dart to keep the environment-variable version.
  4. Restart flutter run to pick up the new settings.

macOS also needs macos/Runner/GoogleService-Info.plist. flutterfire configure creates it, or you can copy it from the Firebase console. Keep .env.example as a template for local .env files.

Development

  • Requires Flutter 3.44.0 and the desktop toolchains for the target platforms.
  • Run ./check.sh to apply formatting, lint, and build checks shared across platforms.
  • Build the signed macOS app with flutter build macos and adjust profiles with Xcode if needed.
  • If you hit missing Firebase credentials while targeting macOS, double-check that .env is populated before launching the app.

Release automation

Release 1.28.9 was the last desktop release published directly by GitHub Actions. Current workflow automation uses the browser-dart GitHub App where elevated repository access is needed, including release and project automation.

Keyboard shortcuts

Keys are defined in lib/utils/keyboard_utils.dart.

macOSWindows/LinuxAction
Cmd + [Alt + LeftNavigate backwards in history
Cmd + ]Alt + RightNavigate forwards in history
Cmd + RCtrl + RReload the current tab
Cmd + TCtrl + TOpen a new tab
Cmd + WCtrl + WClose the current tab
Cmd + FCtrl + FFocus the address bar
Cmd + Shift + FCtrl + Shift + FOpen the page font picker
Cmd + Option + LeftCtrl + Shift + TabMove to the previous tab
Cmd + Option + RightCtrl + TabMove to the next tab
Cmd + EnterF11Toggle fullscreen
Cmd + MMeta + DownMinimize the window
EscapeEscapeClose dialogs or stop loading

macOS unsigned installs (no paid Developer ID)

Unsigned builds can show Gatekeeper warnings. The first launch can stay in Finder:

  1. Drag Browser.app to Applications.
  2. Right-click Browser.app, choose Open, and confirm the dialog.
  3. Alternatively, open System Settings → Privacy & Security and click Open Anyway for Browser.app.

For Terminal installs, clear the quarantine flag with:

xattr -rd com.apple.quarantine /Applications/Browser.app

Only run the command if you trust the build source.

Need help?

  • docs/ contains focused project notes.
  • .codex/README.md documents toolchains, skills, and local workflows.
  • Report bugs or feature requests via GitHub Issues.

Generated files

.gitattributes marks generated files so GitHub hides them from diffs and stats. Common generated paths include:

  • build/** and .dart_tool/**
  • lib/**/*.freezed.dart and lib/**/*.g.dart
  • Platform artifacts such as android/**, ios/**, macos/**, linux/**, and windows/**

When a specific file should be shown in diffs, add -linguist-generated to .gitattributes for that path.

Contribute

Fork, create a branch, run the checks, then open a pull request with a short conventional commit-style summary.

License

This project is proprietary. See LICENSE for the full terms.

Copyright (c) 2026 Niladri Das (bniladridas). All Rights Reserved.

About

Flutter browser app.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages