-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexample.env
74 lines (55 loc) · 2.63 KB
/
example.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# --------------------- Telegram Configuration ---------------------
# Token for your Telegram bot (obtained from BotFather)
TELEGRAM_BOT_TOKEN=YourTelegramBotToken
# Telegram Chat ID where notifications will be sent
# Use tools like @userinfobot to find your Chat ID = User ID
CHAT_ID=YourTelegramChatID
# --------------------- LNbits Configuration ---------------------
# Read-only API key for retrieving wallet balances and authenticating webhooks
LNBITS_READONLY_API_KEY=YourLNbitsReadOnlyAPIKEY
# Base URL of your LNbits instance (ensure it includes the protocol, e.g., https://)
LNBITS_URL=https://lnbits.yourdomain.com
# Custom name for your LNbits instance (used in Telegram notifications)
# Enclosed in quotes because it contains spaces. Remove quotes if the name has no spaces.
INSTANCE_NAME="Your Instance Name"
# --------------------- Authentication Configuration ---------------------
# Admin password for accessing the settings page
ADMIN_PASSWORD=YourSecurePassword
# --------------------- Notification Settings ---------------------
# Threshold for balance changes in Satoshis to trigger a notification. Default is 1 Sat.
BALANCE_CHANGE_THRESHOLD=1
# Number of latest transactions to fetch for notifications. Default is 21
# Duplicates will be ignored.
LATEST_TRANSACTIONS_COUNT=21
# --------------------- Scheduler Intervals ---------------------
# Interval in seconds for fetching the latest payments
# Default: 60 seconds (1 minute)
# Set to 0 to disable fetching payments
PAYMENTS_FETCH_INTERVAL=60
# --------------------- Overwatch Configuration ---------------------
# Overwatch URL for viewing transactions and other details
#OVERWATCH_URL=YourOverwatchURL
# --------------------- Live-Ticker Configuration ---------------------
# URL for the Live-Ticker dashboard
#DONATIONS_URL=YourLiveTickerPageURL
# LiveTicker Parameters
# ID from LNURLP
#LNURLP_ID=YourLNURPID
# Threshold for highlighting large donations (amount in sats)
#HIGHLIGHT_THRESHOLD=2100
# URL for additional information about reason of fundraising/donations (e.g., a social media post, own homepage)
#INFORMATION_URL=YourInformationPageURL
# --------------------- Flask Server Configuration ---------------------
# Host address for the Flask server
APP_HOST=127.0.0.1
# Port number for the Flask server
APP_PORT=5009
# --------------------- File Paths ---------------------
# File to track processed payments
PROCESSED_PAYMENTS_FILE=processed_payments.txt
# File to store the current balance
CURRENT_BALANCE_FILE=current-balance.txt
# File to store donation information
DONATIONS_FILE=donations.json
# Path where your forbidden words are placed
FORBIDDEN_WORDS_FILE=forbidden_words.txt