create a signature on pdf page https://pdf-signature-latest.onrender.com/
Go to file
insleker 9e0ae1dcfe Merge branch 'fix/chrome_save' into feat/mobile 2025-09-24 11:43:52 +08:00
.github/workflows chore: support github action to push to docker.io 2025-09-04 21:23:44 +08:00
.idea feat: flutter create project 2025-08-27 11:19:15 +08:00
.vscode docs: update wireframe, introduce signature cards abstraction 2025-09-02 12:36:30 +08:00
AppDir feat: change app icon 2025-09-18 16:30:57 +08:00
android refactor: file picker logic for better user experience on mobile platform 2025-09-22 11:29:48 +08:00
assets/icon feat: change app icon 2025-09-18 16:30:57 +08:00
docs feat: add mobile PDF screen wireframe for compact viewing and signature placement 2025-09-22 21:19:32 +08:00
integration_test test: add feature focus on switch document 2025-09-24 08:21:26 +08:00
ios feat: change app icon 2025-09-18 16:30:57 +08:00
lib Merge branch 'fix/chrome_save' into feat/mobile 2025-09-24 11:43:52 +08:00
linux feat: flutter create project 2025-08-27 11:19:15 +08:00
macos feat: change app icon 2025-09-18 16:30:57 +08:00
test test: add feature focus on switch document 2025-09-24 08:21:26 +08:00
tool refactor: replace file_selector with file_picker and update related code 2025-09-22 09:29:13 +08:00
web feat: change app icon 2025-09-18 16:30:57 +08:00
windows feat: change app icon 2025-09-18 16:30:57 +08:00
.dockerignore feat: refine dockerfile to deploy on host service provider 2025-09-04 18:04:15 +08:00
.gitignore refactor: migrate models to use Freezed for immutability and JSON support 2025-09-20 20:33:24 +08:00
.metadata feat: flutter create project 2025-08-27 11:19:15 +08:00
AGENTS.md feat: implement new feature test 2025-09-10 18:21:11 +08:00
CHANGELOG.md fix: touch pdf view after first export will trigger app crash due to `Printing.raster` 2025-09-21 23:29:21 +08:00
Dockerfile chore: bump version to 1.1.0 and add changelog entry 2025-09-20 21:24:23 +08:00
LICENSE Initial commit 2025-08-27 11:08:16 +08:00
README.md refactor: replace file_selector with file_picker and update related code 2025-09-22 09:29:13 +08:00
analysis_options.yaml refactor: split pdf_page_area.dart to multi smaller files 2025-09-03 14:08:35 +08:00
build.yaml feat: pass widget test 2025-09-12 08:19:03 +08:00
l10n.yaml chore: improve i18n development experience 2025-08-30 03:28:05 +08:00
pdf_signature.iml feat: flutter create project 2025-08-27 11:19:15 +08:00
pubspec.yaml fix: download is not work under web/ wasm/ chromium env 2025-09-24 11:38:38 +08:00

README.md

pdf_signature

A GUI app to create signatures on PDF pages interactively.

Features

checkout docs/FRs.md

run

# flutter clean
flutter pub get
# arb_translate
# flutter gen-l10n
# > to generate gherkin test
flutter pub run build_runner build --delete-conflicting-outputs
# > to remove unused step definitions
# dart run tool/prune_unused_steps.dart --delete
# > to static analyze the code
flutter analyze
# > run unit tests and widget tests
flutter test
# > run integration tests
# flutter test integration_test/ -d <device_id>
# Examples: --device=windows | --device=linux | --device=macos | --device=chrome
dart run tool/run_integration_tests.dart --device=<device_id>

# dart run tool/gen_view_wireframe_md.dart
# flutter pub run dead_code_analyzer

# run the app
flutter run -d <device_id>

build

Windows

dart run pdfrx:remove_wasm_modules
flutter build windows
# create windows installer
flutter pub run msix:create

web

flutter build web
# flutter build web --release -O4 --wasm

Open the index.html file in the build/web directory. Remove the <base href="/"> to ensure proper routing on GitHub Pages.

Docker

To build and run a minimal Docker image serving static Flutter web files:

# Build the Docker image
docker build -t pdf_signature .

# Run the container (serves static files on port 8080)
docker run --rm -p 8080:8080 pdf_signature

# act push -P ubuntu-latest=catthehacker/ubuntu:act-latest --container-options "--privileged" --env-file .env --secret-file .secrets

Access your app at http://localhost:8080

Linux

For Linux

dart run pdfrx:remove_wasm_modules
flutter build linux
cp -r build/linux/x64/release/bundle/ AppDir
appimagetool-x86_64.AppImage AppDir