4 releases (breaking)
0.5.0 | Apr 17, 2024 |
---|---|
0.4.0 | Apr 13, 2024 |
0.3.0 | Feb 17, 2024 |
0.1.0 | Feb 3, 2024 |
#39 in Games
276 downloads per month
41KB
964 lines
icredeem
CLI tool to redeem Idle Champions of the Forgotten Realms codes.
Set up cursor positions in the config file, and run the tool with a list of codes to redeem.
This can interface with idle_champions_codes_api hosted repositories, of which the official one maintained by Liefland is hosted at codes.idlechampions.liefland.net
All repositories we maintain: GitHub
Installation
Install as software:
cargo install icredeem
Without connecting to the remote API (no tokio
or reqwest
dependencies):
cargo install icredeem --no-default-features
You can the run it like so:
icredeem setup
to generate a config file.icredeem
use the default strategy based on the config, this will default to getting redeemable codes from the APIicredeem --codes="NEWA-CCOU-NTNE-WME!"
to redeem a code.icredeem --prefer-remote
if the configured strategy is local, this will use the remote strategy for this call.
Uninstalling
- (optional) Remove the config file, you can use
icredeem clean
in the binary to do this for you. - Remove the binary from the system
Recommended reading
- If you have no intention of using the remote API to redeem codes,
we recommend installing with
--no-default-features
to avoid thetokio
andreqwest
dependencies. - We use arboard to manipulate your clipboard.
- For those who use wayland, the optional
wayland
feature and https://github.com/1Password/arboard?tab=readme-ov-file#gnulinux may be interesting to you.
- For those who use wayland, the optional
- We use Enigo to simulate mouse clicks and keyboard presses, it has some dependency and permission notes:
Contributing
Contributions are welcome! Feel free to open an issue or submit a pull request.
License
Licensed under the following licenses at your option:
- Apache License, Version 2.0 <LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0>
- MIT license <LICENSE-MIT or https://opensource.org/licenses/MIT>
Files in the project may not be copied, modified, or distributed except according to those terms.
Dependencies
~2–39MB
~644K SLoC