Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cljoly/sesters

πŸ’± Fast, offline currency converter πŸ’΄Β πŸ’·Β πŸ’ΆΒ πŸ’΅
https://github.com/cljoly/sesters

cli command-line-tool currency-converter finance hacktoberfest money rust rust-lang rustlang sesters wip

Last synced: about 2 months ago
JSON representation

πŸ’± Fast, offline currency converter πŸ’΄Β πŸ’·Β πŸ’ΆΒ πŸ’΅

Awesome Lists containing this project

README

        



Sesters

> **Note**: This repository is archived for now, but I may work on this project in the future.

πŸ’± Fast, offline currency converter πŸ’΄ πŸ’· πŸ’Ά πŸ’΅

Crates.io LICENCE Continuous Integration Crates.io undefined

******************************************

## Getting started

Install the latest version:

```
$ cargo install sesters
```

Exemple of plain text conversion:
```sh
$ sesters convert a price burried 1 USD in text
USD 1.00 ➜ EUR 0.89
$ sesters convert -- -1 €
EUR -1.00 ➜ USD -1.10
$ sesters convert
I can type and press enter EUR 2356
EUR 2345.00 ➜ USD 2586.53
```
It is then visible in the history:
```
$ sesters history list
╔═══╦═══════════════════════════════════╦═════════════════════════════════════╦═══════════════════════════╗
β•‘ 1 β•‘ 2021-10-09 22:36:54.733991464 UTC β•‘ a price burried 1 USD in text β•‘ USD 1.00 ➜ EUR 0.86 β•‘
╠═══╬═══════════════════════════════════╬═════════════════════════════════════╬═══════════════════════════╣
β•‘ 2 β•‘ 2021-10-09 22:36:58.147102167 UTC β•‘ -1 € β•‘ EUR -1.00 ➜ USD -1.16 β•‘
╠═══╬═══════════════════════════════════╬═════════════════════════════════════╬═══════════════════════════╣
β•‘ 3 β•‘ 2021-10-09 22:37:06.656527072 UTC β•‘ I can type and press enter EUR 2356 β•‘ EUR 2356.00 ➜ USD 2727.15 β•‘
β•šβ•β•β•β•©β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•©β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•©β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•β•
```

## Features

- Find prices in plain text with several currencies
- Store exchange rates locally for a while, to speed up future conversions
- Save recent conversion history. The history is automatically deleted after a while

## About the name

Inspired by this [coin](https://en.wikipedia.org/wiki/Sestertius).

Sestertius Hostilian-s2771.jpg
By Classical Numismatic Group, Inc. http://www.cngcoins.com, CC BY-SA 3.0, Link

## Contribute

Contributions are welcome, see this [document](https://cj.rs/docs/contribute/)!

[![](https://img.shields.io/github/issues/cljoly/sesters/good%20first%20issue)](https://github.com/cljoly/sesters/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22)

## Licence

![GPLv3](https://www.gnu.org/graphics/gplv3-127x51.png)

Sesters is licensed under [GNU General Public License](https://www.gnu.org/licenses/gpl.html) Version 3 or later.

> Copyright (C) 2018-2019 ClΓ©ment Joly
>
> This program is free software: you can redistribute it and/or modify
> it under the terms of the GNU General Public License as published by
> the Free Software Foundation, either version 3 of the License, or
> (at your option) any later version.
>
> This program is distributed in the hope that it will be useful,
> but WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> GNU General Public License for more details.
>
> You should have received a copy of the GNU General Public License
> along with this program. If not, see .
,