-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: updated readme, licensing and getting project ready for use
- Loading branch information
Showing
10 changed files
with
141 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2024 Willians Faria | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,105 @@ | ||
<img src="./extra/logo.jpg" height="300" /> | ||
# REQTUI | ||
|
||
# ReqTUI | ||
`reqTUI` is a API Client, much like Postman or Insomnia, but for your terminal. | ||
reqTUI has the goal of providing a good experience for testing APIs without the | ||
need of creating an account, being completely offline, and free and open source. | ||
|
||
Terminal HTTP Client UI to test APis. | ||
![Preview](./extra/preview.gif) | ||
|
||
# Demo | ||
<details> | ||
<summary>Expand to see more examples</summary> | ||
|
||
![demo](./extra/examples/editor.gif) | ||
> [!NOTE] | ||
> this section will be filled with more examples soon | ||
</details> | ||
|
||
## Table of contents | ||
- [Installation](#installation) | ||
- [Documentation](#usage) | ||
- [Customization](#customization) | ||
- [Contributing](#contributing) | ||
- [Changelog](#changelog) | ||
|
||
## Installation | ||
|
||
This section should guide you through the installation process and how to use | ||
reqTUI. | ||
|
||
You can get reqTUI with cargo, or get the latest release | ||
[tag](https://github.com/wllfaria/reqtui/tags). | ||
|
||
### Installing with cargo | ||
|
||
> [!NOTE] | ||
> you need rust v1.76 or newer | ||
You can get reqTUI from crates.io with: | ||
|
||
```sh | ||
cargo install rqt | ||
``` | ||
|
||
### Building from source | ||
|
||
Clone the repository into your machine, and you'll be able to run, or build by | ||
following the steps below: | ||
|
||
```sh | ||
git clone https://github.com/wllfaria/reqtui | ||
cd reqtui | ||
cargo run | ||
|
||
# alternatively, you can run: | ||
cargo build --release | ||
# or if you have just: | ||
just build | ||
# the binary will be located at target/release/rqt | ||
``` | ||
|
||
> [!IMPORTANT] | ||
> reqTUI is in its very early stages of development, new features are added constantly, | ||
> and we have many features planned, feel free to report any bugs, ask for features or | ||
> discuss ideas. | ||
## Documentation | ||
|
||
> [!NOTE] | ||
> Documentation is still a work in progress | ||
Documentation can be found in the [reqTUI wiki](https://github.com/wllfaria/reqtui/wiki) | ||
|
||
## Customization | ||
|
||
Customizing reqTUI is as simple as editing toml files on the config directory, which can | ||
be in different places based on your system and maybe in your environment variables, but | ||
you can run the following command to know where reqTUI is looking for your configuration: | ||
|
||
```sh | ||
# this command will print the path to the configuration directory reqTUI is trying to load | ||
rqt --config-dir | ||
``` | ||
|
||
> [!NOTE] | ||
> You can check all the configuration options and what they mean in the wiki secion | ||
> for customizing reqTUI | ||
reqTUI comes with a set of default configurations, you can check more on the | ||
[wiki](https://github.com/wllfaria/reqtui/wiki), or if you prefer, you can dump the default | ||
configuration and colorscheme to the configuration directory by using: | ||
|
||
```sh | ||
rqt --config-dump | ||
|
||
# alternatively, you can specify a path | ||
|
||
rqt --config-dump <path> | ||
``` | ||
|
||
## Contributing | ||
|
||
All contributions are welcome! Just open a pull request. Please read [CONTRIBUTING.md](./CONTRIBUTING.md) | ||
|
||
## Changelog | ||
|
||
Changelogs can be found [here](./CHANGELOG.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
tapes_dir="$PWD/extra/tapes" | ||
tapes=$(ls "$tapes_dir") | ||
|
||
for tape in $tapes; do | ||
if [[ "$tape" != "run_all.sh" ]]; then | ||
vhs "$tapes_dir/$tape" | ||
fi | ||
done |