mariinkys / oboete

A simple flashcards application for the COSMIC™ desktop written in Rust
GNU General Public License v3.0
28 stars 2 forks source link
cosmic flashcards libcosmic rust studying

Oboete

![Flathub Version](https://img.shields.io/flathub/v/dev.mariinkys.Oboete) ![Flathub Downloads](https://img.shields.io/flathub/downloads/dev.mariinkys.Oboete) ![GitHub License](https://img.shields.io/github/license/mariinkys/oboete) ![GitHub Repo stars](https://img.shields.io/github/stars/mariinkys/Oboete)

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