Skip to content

Kropatz/boorusphere

This branch is 20 commits ahead of nullxception/boorusphere:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c1891df · Jan 18, 2025
Jun 17, 2023
Apr 28, 2024
Dec 19, 2024
Nov 10, 2024
Jun 10, 2023
May 26, 2023
Jan 18, 2025
Dec 19, 2024
Jun 9, 2023
Nov 17, 2024
Jun 22, 2023
Jun 17, 2023
Jun 10, 2023
Jul 14, 2022
Nov 8, 2022
Jan 18, 2025
Apr 21, 2021
Sep 28, 2024
Nov 20, 2022
Nov 10, 2024
Jun 15, 2023
Sep 13, 2024
Dec 19, 2024
Nov 17, 2024
Jan 18, 2025
Jun 9, 2023

Repository files navigation

boorusphere icon

Boorusphere

Simple, content-focused booru viewer for Android


Features

  • Simple and intuitive UI
  • Support various booru-based imageboards
  • Support playing videos and animated images (GIF, WEBM)
  • Save favorites content
  • Search with tag suggestion
  • Download images and videos
  • Block tags from search result
  • Backup and restore data
  • and many more ...

Preview

Building from Source

  • Install Flutter SDK, visit flutter.dev for more information.

  • Fetch latest source code

git clone https://github.com/Kropatz/boorusphere.git
cd boorusphere
  • Sync dependencies
flutter pub get
  • Run code generator
dart run build_runner build --delete-conflicting-outputs

If that doesn't work, try

 flutter pub run build_runner build --delete-conflicting-outputs
  • Generate translation
dart run slang
  • Run the app with your favorite IDE/PDE. or from shell:
flutter run

Protip:

  • Run build_runner after editing some areas that needs a code generator such as entities and routing.
  • Run slang after editing translation files (*.i18n.json).
  • build_runner and slang has some features that will be helpful during development such as auto-rebuild and translation analysis, so it's highly recommended to check the documentations and familiarize yourself with it.

Translation

Translating untranslated strings

  • Run slang analyzer to check for missing translations
dart run slang analyze --outdir=i18n
  • Open i18n/_missing_translations.json and then translate your language of choice.

  • After editing the file, you can apply it to the actual json translation file by running:

dart run slang apply --outdir=i18n

dart run slang analyze --outdir=i18n # update analyzation result files

Note

You can leave untranslated strings on i18n/_missing_translations.json.
It's perfectly fine and recommended to leave it unchanged rather than adding it on the actual translation json but leaving it untranslated.

Adding a new language

You can copy i18n/strings_en.i18n.json to i18n/strings_<language-code>.i18n.json.
At this point, feel free to pull request your new language here and we'll take care of adapting to the app code.

Or if you want to build and test yourself, then:

  • Run slang to generate the strings.g.dart
dart run slang
  • Run slang analyzer to check for missing translations
dart run slang analyze --outdir=i18n
  • Build and run the app as usual

About

Simple, content-focused booru viewer for Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Dart 97.4%
  • Kotlin 1.9%
  • Other 0.7%