Coder Social home page Coder Social logo

ezhangle / saber Goto Github PK

View Code? Open in Web Editor NEW

This project forked from saber-notes/saber

0.0 1.0 0.0 6.46 MB

A (work-in-progress) cross-platform libre handwritten notes app

Home Page: https://saber.adil.hanney.org

License: GNU General Public License v3.0

Shell 0.10% Ruby 1.20% C++ 9.70% C 0.64% Objective-C 0.02% Kotlin 0.06% Dart 77.04% Swift 0.84% HTML 0.81% CMake 8.11% Inno Setup 1.49%

saber's Introduction

Logo Saber

A (work-in-progress) cross-platform libre notes app. Please note that this app is still in early stages and not ready to trust with your notes yet.

Android iOS Linux macOS Windows Web
Support

Android and Linux are the main platforms that are being developed for, but if you encounter any bugs on other platforms, please open an issue.

Tap to show/hide screenshots

Features

Please see #1 Saber progress.

Install

Saber is still in early stages but if you'd like to check it out, you can see the online PWA at saber.adil.hanney.org. Alternatively, install it natively...

Tap to show/hide install instructions

Android

Option 1 (recommended): Download and install app-release.apk from the latest Release.

Option 2: Download from the Play Store

Linux

Option 1 (recommended): Install the flatpak from Flathub: flatpak --user install com.adilhanney.saber.

Option 2: Download Saber.flatpak from the latest Release and install with flatpak --user install Saber.flatpak

Windows

Download and install SaberInstaller.exe from the latest Release

iOS

See #4 How to install on iOS

macOS

Download Saber.app.zip from the latest Release and move the Saber app to /Applications. macOS will warn you that the app is from an unidentified developer when you first open it, so you'll need to go to System Preferences > Security & Privacy and click Open Anyway.

Build from source

Tap to show/hide build instructions

1. Install flutter

https://docs.flutter.dev/get-started/install

2. Clone this project

git clone https://github.com/adil192/saber.git

3. Get dependencies

flutter pub get

4. Build for...

Linux

flutter build linux

This is good enough for using on your own computer, but if you want to redistribute your build, you need to use a predictable environment: fork this repo and use the GitHub Action Build Flatpak instead.

Android

flutter build apk

You may need to generate a signing certificate and create the android/key.properties file. More information on https://docs.flutter.dev/deployment/android#create-an-upload-keystore

The web

flutter build web

Windows

flutter build windows

The Windows installer is created with Inno Setup. To create an installer of your own, run the above build command, then edit and run installers/desktop_inno_script.iss with Inno Setup Compiler.

iOS and macOS

If you have a macOS computer, you can build for iOS with flutter build ipa or build for macOS with flutter build macos.

If you don't, fork this repo and use the GitHub Action Build for macOS and iOS. Alternatively, follow this YouTube tutorial How to compile a flutter application to iPhone with no mac (free | no jailbreak) to manually build with Codemagic.

Links

Development notes

  • When updating the app version, you'll need to make changes to the following files:
    • pubspec.yaml: version
    • lib/data/version.dart: buildNumber
    • windows/runner/Runner.rc: VERSION_AS_NUMBER and VERSION_AS_STRING
    • installers/desktop_inno_script.iss: MyAppVersion
    • flatpak/com.adilhanney.saber.metainfo.xml: <releases>
  • When updating the icons, run the following commands:
    • General: flutter pub run icons_launcher:create
    • Flatpak icons: cd assets/icon && ./resize-icon.sh

saber's People

Contributors

adil192 avatar dependabot[bot] avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.