Skip to content

A simple flashcards application for the COSMIC™ desktop written in Rust

License

Notifications You must be signed in to change notification settings

mariinkys/oboete

Repository files navigation


Oboete

Flathub Version Flathub Downloads GitHub License GitHub Repo stars

A simple flashcards application for the COSMIC™ desktop

Main Window Dark Folder Window Dark Study Window Dark



Download on Flathub

Notes

This application has been made thanks to the libcosmic Documentation and edfloreshz application template and examples.

This project is related to my other flashcard project, if you want Chinese or Japanese flashcards you can check it out!

Warning

Right now RTL languages are not well supported, please take a loot at #6 for more information

Anki Importing Support

Please Look at: ANKI_IMPORTING

Installation

git clone https://github.com/mariinkys/oboete.git
cd oboete
cargo build --release
sudo just install

Development Notes

In order to build the Flatpak, first you need to create the 'cargo-sources.json' file, for that we'll use this python script, from flatpak-builder-tools, remember that the 'toml' and 'aiohttp' python modules are needed (they can be installed with pip).

Once you have that, with the python script in the root of the project, you can start with:

python3 flatpak-cargo-generator.py Cargo.lock -o cargo-sources.json

This will create the needed 'cargo-sources.json' file. Then you already can build and install the Flatpak with:

flatpak-builder --user --install --force-clean build-dir dev.mariinkys.Oboete.json

You can also build the Flatpak and not install it with:

flatpak-builder --force-clean build-dir dev.mariinkys.Oboete.json

Useful resources include: Flatpak Docs. Remember that whenever the dependencies change/are updated the 'cargo-sources.json' file needs to be rebuilt.

Copyright and Licensing

Copyright 2024 © Alex Marín

Released under the terms of the GPL-3.0