Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mardiros/rustaman
A Templating REST Client
https://github.com/mardiros/rustaman
gtk-rs gtk3 gui relm rest-client rust
Last synced: 2 months ago
JSON representation
A Templating REST Client
- Host: GitHub
- URL: https://github.com/mardiros/rustaman
- Owner: mardiros
- License: bsd-3-clause
- Created: 2018-04-15T09:04:05.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-11T16:33:22.000Z (4 months ago)
- Last Synced: 2024-09-12T18:56:38.262Z (4 months ago)
- Topics: gtk-rs, gtk3, gui, relm, rest-client, rust
- Language: Rust
- Homepage:
- Size: 317 KB
- Stars: 12
- Watchers: 3
- Forks: 3
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rustaman
[![dependency status](https://deps.rs/repo/github/mardiros/rustaman/status.svg)](https://deps.rs/repo/github/mardiros/rustaman)
A Template based HTTP client.
## Status
unstable/under development
## Install on Archlinux
You can install the package `rustaman-git` from [AUR](https://aur.archlinux.org/packages/rustaman-git).
## Install from source
You must have GTK 4 installed on your OS to get it working.
The GTK SourveView 5 has to be installed too.### Development Environment Setup for Archlinux
```bash
sudo pacman -Sy gtk4 gtksourceview5 openssl
```### Development Environment Setup for Ubuntu
You must have libglib2.0-dev, libcairo2-dev,libpango1.0-dev,libgraphene-1.0-dev,
libgdk-pixbuf2.0-dev,libgtk-4-dev,libadwaita-1-dev,libgtksourceview-5-dev installed on
your OS to get it working```bash
sudo apt-get update
sudo apt-get install libglib2.0-dev \
libcairo2-dev \
libpango1.0-dev \
libgraphene-1.0-dev \
libgdk-pixbuf2.0-dev \
libgtk-4-dev \
libadwaita-1-dev \
libgtksourceview-5-dev
```### Clone the repository
```
git clone https://github.com/mardiros/rustaman.git
cd rustaman
```### Copy assets for syntax highlighting
#### On Linux
```
mkdir -p ~/.config/rustaman
cp assets/* ~/.config/rustaman
```#### On MacOS
```
mkdir $HOME/Library/Preferences/rustaman
cp assets/* $HOME/Library/Preferences/rustaman
```### Build
```
cargo build
```Or in release mode:
```
cargo build --release
```### Run with logging info
```
RUST_BACKTRACE=1 RUST_LOG=rustaman=debug cargo run
```Or in release mode with the error level:
```
RUST_BACKTRACE=1 RUST_LOG=rustaman=error cargo run --release
```