Skip to content

Commit ca44aef

Browse files
committed
docs(envrc): add .envrc.example
1 parent c415657 commit ca44aef

1 file changed

Lines changed: 71 additions & 0 deletions

File tree

.envrc.example

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
################################################################################
2+
# .envrc.example
3+
#
4+
# Template for direnv (https://direnv.net/).
5+
#
6+
# Usage:
7+
# cp .envrc.example .envrc
8+
# direnv allow
9+
#
10+
# Notes:
11+
# - `.envrc` may contain secrets (API keys) and is gitignored. Never commit it.
12+
# - This file is safe to commit because it contains only placeholders.
13+
# - See docs/cli.md for the full reference and default values.
14+
################################################################################
15+
16+
# Activate project virtual environment.
17+
# source .venv/bin/activate
18+
19+
################################################################################
20+
# BalatroLLM (BALATROLLM_*)
21+
################################################################################
22+
23+
# YAML config file path (alternative to passing CONFIG as a positional arg).
24+
# export BALATROLLM_CONFIG="config/example.yaml"
25+
26+
# LLM model(s) to use.
27+
# Required unless set via YAML config or `--model`.
28+
# export BALATROLLM_MODEL="openai/gpt-4o" # default: (required)
29+
30+
# Game parameters.
31+
# export BALATROLLM_SEED="AAAAAAA" # default: AAAAAAA
32+
# export BALATROLLM_DECK="RED" # default: RED
33+
# export BALATROLLM_STAKE="WHITE" # default: WHITE
34+
# export BALATROLLM_STRATEGY="default" # default: default
35+
36+
# Execution.
37+
# export BALATROLLM_PARALLEL=1 # default: 1
38+
39+
# BalatroBot connection settings (used by balatrollm to connect to instances).
40+
# export BALATROLLM_HOST="127.0.0.1" # default: 127.0.0.1
41+
# export BALATROLLM_PORT=12346 # default: 12346
42+
43+
# LLM provider settings.
44+
# export BALATROLLM_BASE_URL="https://openrouter.ai/api/v1" # default: https://openrouter.ai/api/v1
45+
# export BALATROLLM_API_KEY="sk-..." # default: unset
46+
47+
# Views server toggle (0/1). Set to 1 to enable.
48+
# export BALATROLLM_VIEWS=0 # default: 0
49+
50+
################################################################################
51+
# BalatroBot (BALATROBOT_*)
52+
################################################################################
53+
54+
# Server settings.
55+
# export BALATROBOT_HOST="127.0.0.1" # default: 127.0.0.1
56+
# export BALATROBOT_PORT=12346 # default: 12346
57+
58+
# Behavior toggles (0/1).
59+
# export BALATROBOT_FAST=0 # default: 0 (10x game speed)
60+
# export BALATROBOT_HEADLESS=0 # default: 0
61+
# export BALATROBOT_RENDER_ON_API=0 # default: 0
62+
# export BALATROBOT_AUDIO=0 # default: 0
63+
# export BALATROBOT_DEBUG=0 # default: 0 (requires DebugPlus mod)
64+
# export BALATROBOT_NO_SHADERS=0 # default: 0
65+
66+
# Paths / platform (auto-detected if unset).
67+
# export BALATROBOT_BALATRO_PATH="/path/to/Balatro" # default: auto-detected
68+
# export BALATROBOT_LOVELY_PATH="/path/to/lovely" # default: auto-detected
69+
# export BALATROBOT_LOVE_PATH="/path/to/love" # default: auto-detected
70+
# export BALATROBOT_PLATFORM="darwin" # default: auto-detected (darwin|linux|windows|native)
71+
# export BALATROBOT_LOGS_PATH="logs" # default: logs

0 commit comments

Comments
 (0)