This is a fork of the original Flow ePub reader, with a focus on improving and stabilizing the browser extension.
- Grid layout
- Search in book
- Image preview
- Custom typography
- Highlight and Annotation
- Theme
- Data export
- Cloud storage
Follow these steps to set up the development environment and build the extension from the source code.
git clone https://github.com/Zolangui/Flow-Reader-Extension.git
cd Flow-Reader-Extensionpnpm iThis project uses environment variables for configuration. Copy the example files and fill in the required values.
cp apps/reader/.env.local.example apps/reader/.env.local
# You may need to do this for other apps if you intend to use them.The extension needs to be built before it can be loaded into a browser.
- For Chrome:
pnpm build:ext:chrome
- For Firefox:
pnpm build:ext:firefox
The built extension files will be located in the apps/extension/dist directory.
- Open Google Chrome and navigate to
chrome://extensions. - Enable "Developer mode" using the toggle switch in the top-right corner.
- Click the "Load unpacked" button.
- In the file dialog, select the
apps/extension/distdirectory from this project. - The "Flow" extension will now be installed.
- Open Mozilla Firefox and navigate to
about:debugging. - Click on the "This Firefox" tab on the left.
- Click the "Load Temporary Add-on..." button.
- In the file dialog, navigate to the
apps/extension/distdirectory and select themanifest.jsonfile. - The "Flow" extension will now be temporarily installed.
If you want to create a distributable zip file of the extension:
- For Chrome:
pnpm package:chrome
- For Firefox:
pnpm package:firefox
All contributions are welcome!