Magically Create and Transfer Content to NFC ePaper Badges
The Magic ePaper app is an open-source Flutter application that lets users design and transfer content to a tri-color, battery-free NFC ePaper badge. The app features an intuitive UI with drawing tools, text input, emoji support, font customization, and image editing (rotation, brightness, contrast, filters optimized for ePaper such as Floyd–Steinberg and Atkinson dithers). It supports NFC-based reading/writing of images and advanced NDEF data (text, URLs, vCards, app launch). A built-in Image Library stores processed images for quick transfers. Additional tools include QR/barcode generation, employee ID, and price tag creation.
- Latest Release Build in the app branch
- NFC: For reading and writing data to the ePaper badge via NFC.
- Internet: For network operations and updates.
Translators can support the project on Weblate here: https://hosted.weblate.org/projects/fossasia/magic-epaper-app/
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|
||
We have the following branches
- main: All development goes on in this branch. If you're making a contribution, you are supposed to make a pull request to main. PRs to main branch must pass a build check on CI/CD.
- app: This branch contains the latest app builds and releases.
- version: This branch stores the version information for the app builds (versionName and versionCode). This is used in our workflows for automatic versioning wherein the next version information is automatically fetched from this branch and used for building the app.
- fastlane-android: This branch contains information and metadata used by fastlane to automate Android deployment.
- pr-screenshots: This branch stores screenshots for every open pull request, which are shown in comments in every pull request.
Please read FOSSASIA's Best Practices before contributing. Please help us follow the best practice to make it easy for the reviewer as well as the contributor. We want to focus on the code quality more than on managing pull request ethics. Here are some basics:
- Single commit per pull request
- For writing commit messages please read the CommitStyle.md.
- Follow uniform design practices. The design language must be consistent throughout the app.
- The pull request will not get merged until and unless the commits are squashed. In case there are multiple commits on the PR, the commit author needs to squash them and not the maintainers cherrypicking and merging squashes.
- If the PR is related to any front end change, please attach relevant screenshots in the pull request description.
- Before you join development, please set up the project on your local machine, run it and go through the application completely. Press on any button you can find and see where it leads to. Explore.
- If you would like to work on an issue, drop in a comment at the issue. If it is already assigned to someone, but there is no sign of any work being done, please free to drop in a comment and start working on it.
Opening this repository in VSCode, GitHub Codespaces or another supported editor/IDE will allow the repository to be opened in a Dev Container.
The Dev Container contains all necessary dependencies and tools required to build, run and debug flutter applications.
adb is already installed and running on the host it may need to be stopped before continuing.
This Dev Container allows several different methods of connecting to a device via adb:
ℹ️ Windows and MacOS need a working USB/IP setup. Read more in the official Docker Desktop documentation and in this blog post.
The Dev Container bind-mounts /dev/bus/usb/ and sets the correct access controls for a seamless integration.
Enable USB debugging on your phone and try to find it via:
adb devicesIf it shows up, everything is ready and you can run flutter run to push a development version of the app onto your device.
If adb is already installed on the host, the tools in the Dev Container can be configured to use the host's adb server:
- Ensure the
adbserver is listening on all interfaces- If that is not the case, kill and restart it:
adb kill-server && adb -a server(the-ainstructs it to listen on all interfaces).
- If that is not the case, kill and restart it:
- Set or export the following environment variable before executing
adborflutter run:ADB_SERVER_SOCKET=tcp:host.docker.internal:5037 - You should now be able to list the devices connected via USB to the host
Android 11 and higher support wireless debugging. Check out the documentation for more information.
For this mode it is required that both the workstation and the device are on the same network.
ℹ️ This also works when developing inside GitHub Codespaces. In that case you can bring your device and the Codespace onto the same network by installing WireGuard, Tailscale or another overlay/mesh network on both the Codespace and your device.
Enable Wireless debugging as per the documentation, then pair adb pair <IP>:<PORT> and connect adb connect <IP>:<PORT> and you should be able to find your device via adb devices.
This project is a starting point for a Flutter application that follows the simple app state management tutorial.
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
The assets directory houses images, fonts, and any other files you want to
include with your application.
The assets/images directory contains resolution-aware
images.
This project generates localized messages based on arb files found in
the lib/src/localization directory.
To support additional languages, please visit the tutorial on Internationalizing Flutter apps.
Flutter SDK: Install from Flutter's official website.
Dart SDK: Included with Flutter, but verify installation using dart --version
Git: Required for cloning the repository. Install from Git's official site.
Android Studio or VS Code: Recommended IDEs for Flutter development.
Android Emulator or Physical Device: For running the application.
- Clone the Repository
git clone https://github.com/fossasia/magic-epaper-app
cd magic-epaper-app
- Install Dependencies
flutter pub get
- Run on an Emulator or Physical Device
Ensure an emulator is running or a device is connected.
Execute:
flutter run
- Build the App (For production/testing)
flutter build apk # For Android
flutter build ios # For iOS (macOS required)
The application is licensed under the Apache License 2.0. Copyright is owned by FOSSASIA and its contributors.


















