https://github.com/mardiros/rustaman
A Templating REST Client
https://github.com/mardiros/rustaman
gtk-rs gtk3 gui relm rest-client rust
Last synced: about 1 year 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 (about 8 years ago)
- Default Branch: main
- Last Pushed: 2025-02-18T07:02:47.000Z (over 1 year ago)
- Last Synced: 2025-04-12T03:53:30.474Z (about 1 year ago)
- Topics: gtk-rs, gtk3, gui, relm, rest-client, rust
- Language: Rust
- Homepage:
- Size: 378 KB
- Stars: 14
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rustaman
[](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
```