/roseate

🌹 A small and simple but fancy image viewer built with Rust & Typescript that's cross platform.

Primary LanguageTypeScriptGNU General Public License v3.0GPL-3.0

🌹 roseate

A small and simple but fancy image viewer built with Rust & Typescript that's cross-platform.

Caution

This project is HEAVILY a work in progress, hence it may crash or harm your system. Github issues are welcome. 🤝

🛠️ Installation

As Roseate is in heavy development I won't offer packages and binaries yet so you'll need to compile the application from source.

🏗 Build from source

Prerequisites:

  • npm
  • Tauri CLI ( cargo install tauri-cli )
  • Rust (must be 1.60+)
  • Make (recommended, otherwise you'll need to run commands from the Makefile manually)
  1. Clone the repo.
git clone https://github.com/cloudy-org/roseate
cd roseate
  1. Pull the submodules (includes ctk).
git submodule update --init --recursive
  1. Install npm dependencies.
make install-deps

⚙️ For Development

At this stage, for development, you would just run make run. If you would like to install it to your system continue ahead to the next section.

  1. Run make run.
make run

To run Roseate in development with an image use this make command:

make run ARGS="./anime_girl.png"

🎀 Install into your system.

  1. Build the release binary.
make
  1. Install to your system.
make install
  1. Then the roseate binary will be available in your terminal.
roseate

Make sure to add ~/.cargo/bin to path. You can do so by adding export PATH=$PATH:~/.cargo/bin to your .bashrc or an equivalent. On Windows, it should already be in path.

Open an image by passing its path.

roseate ./anime_girls.png

You might want to also set the binary at ~/.cargo/bin/roseate as your default image viewer so double clicking on images calls it. Look up how to perform that for your desktop environment or OS.