Interactive CLI for Infinite Craft — combine elements from the terminal
Project description
infinite-craft-cli
Interactive CLI for Infinite Craft — combine elements from the terminal.
Originally built on infinite-craft by @sqdnoises. As of v1.0, uses curl_cffi directly.
Installation
pip install infinite-craft-cli
Usage
Interactive mode
infinite-craft
This opens a REPL where you can combine elements, search discoveries, and more:
craft> Water + Fire
💨 Water + 🔥 Fire = 💨 Steam
craft> /search steam
💨 Steam
craft> /help
Non-interactive mode
All commands are available as subcommands:
infinite-craft combine "Water" "Fire"
infinite-craft search "steam"
infinite-craft list
infinite-craft recipe "Steam"
infinite-craft import "Steam"
infinite-craft export
infinite-craft fill
infinite-craft unfilled
infinite-craft exhaust "Water"
infinite-craft crawl "Water" "Fire"
infinite-craft permute "w*"
infinite-craft cross "fire*" "water*"
infinite-craft --version
Commands
| Command | Description |
|---|---|
<element> + <element> |
Combine two elements |
<element> ++ <element> |
Combine & crawl: iterate until no new discoveries |
<element> + | <query> |
Combine element with all matching discoveries |
<query> * <query> |
Cross-combine all matches from both queries |
/search <query> |
Search discoveries (supports * ? wildcards, ^ for first discoveries) |
/recipe <element> |
Show shortest recipe from base elements |
/list |
List all discovered elements |
/exhaust <element> |
Combine element with all discoveries |
/crawl <el> + <el> |
Same as ++ (alternate syntax) |
/permute <query> |
Combine all matching elements with each other |
/import <element|file.ic> |
Import from Infinibrowser or .ic save file |
/fill |
Fetch missing recipes from Infinibrowser |
/unfilled |
List elements without recipes |
/export [path] |
Export discoveries as .ic save file |
/history |
Show combinations tried this session |
/help |
Show help |
/quit |
Exit |
Data storage
Discoveries and recipes are stored in ~/.infinite-craft-cli/:
discoveries.json-- all discovered elementsrecipes.json-- known element combinationsexport.ic-- default export location
Development
Run unit tests:
bazel test //tests/...
Run integration tests (hits the real API):
bazel test //tests:test_integration --test_env=INTEGRATION_TESTS=1
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file infinite_craft_cli-1.2.0.tar.gz.
File metadata
- Download URL: infinite_craft_cli-1.2.0.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d7093d282378cffb10201bce37955080a94620e7d057caa18b3781250c16ea8
|
|
| MD5 |
95a77928aca497ae3cc04707adbb41e9
|
|
| BLAKE2b-256 |
a451b9d21e507d0a4251e537b106f1da226461cdfadaae6d9e307b5800047aa3
|
Provenance
The following attestation bundles were made for infinite_craft_cli-1.2.0.tar.gz:
Publisher:
publish.yml on hacker6284/infinite-craft-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
infinite_craft_cli-1.2.0.tar.gz -
Subject digest:
0d7093d282378cffb10201bce37955080a94620e7d057caa18b3781250c16ea8 - Sigstore transparency entry: 1242247262
- Sigstore integration time:
-
Permalink:
hacker6284/infinite-craft-cli@d0fbac4a3191e8cfdf7d3d33a911aa71994befbb -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/hacker6284
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d0fbac4a3191e8cfdf7d3d33a911aa71994befbb -
Trigger Event:
push
-
Statement type:
File details
Details for the file infinite_craft_cli-1.2.0-py3-none-any.whl.
File metadata
- Download URL: infinite_craft_cli-1.2.0-py3-none-any.whl
- Upload date:
- Size: 17.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ae8bdee8c1113a59ab4103de274f4e82d2a7aa4b5585c00d45ae5bb0ae557f3
|
|
| MD5 |
64c46c99149fc7b6f209a6b8631687ac
|
|
| BLAKE2b-256 |
8119f05cc6620d505ed18bbf224ff0fd24ca969f8a915bb38ed5d81dd5b7ca76
|
Provenance
The following attestation bundles were made for infinite_craft_cli-1.2.0-py3-none-any.whl:
Publisher:
publish.yml on hacker6284/infinite-craft-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
infinite_craft_cli-1.2.0-py3-none-any.whl -
Subject digest:
4ae8bdee8c1113a59ab4103de274f4e82d2a7aa4b5585c00d45ae5bb0ae557f3 - Sigstore transparency entry: 1242247276
- Sigstore integration time:
-
Permalink:
hacker6284/infinite-craft-cli@d0fbac4a3191e8cfdf7d3d33a911aa71994befbb -
Branch / Tag:
refs/tags/v1.2.0 - Owner: https://github.com/hacker6284
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d0fbac4a3191e8cfdf7d3d33a911aa71994befbb -
Trigger Event:
push
-
Statement type: