-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy path.env.example
More file actions
49 lines (42 loc) · 1.58 KB
/
.env.example
File metadata and controls
49 lines (42 loc) · 1.58 KB
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
# HackMD Conference Note Generation Environment Variables
# Required: HackMD API Access Token
# Get this from your HackMD instance settings > API tokens
# For hackmd.io: https://hackmd.io/@hackmd-api/developer-portal
HACKMD_ACCESS_TOKEN=your_access_token_here
# Required: HackMD API Endpoint URL
# For hackmd.io: https://api.hackmd.io/v1
# For self-hosted: https://your-hackmd-instance.com/api/v1
HACKMD_API_ENDPOINT=https://api.hackmd.io/v1
# Optional: HackMD Web Domain (for generating correct note URLs)
# This is useful when your API endpoint differs from the web domain
# For hackmd.io: https://hackmd.io
# For self-hosted: https://your-hackmd-instance.com
# If not set, defaults to the API endpoint
HACKMD_WEB_DOMAIN=https://hackmd.io
# Optional: Test Mode
# Set to 'true' to create limited notes for testing
# Set to 'false' or omit for full note generation
TEST_MODE=false
# Optional: Resume Mode
# Set to 'true' to resume from previous interrupted execution
# Set to 'false' or omit for fresh generation
RESUME_MODE=false
# Optional: Fixed delay (milliseconds) between API requests
# Use to avoid rate limits in production environments
# Can also be set via --delay-ms CLI flag
# Recommended: 200-500ms for production
REQUEST_DELAY_MS=0
# Example configurations:
#
# For hackmd.io:
# HACKMD_API_ENDPOINT=https://api.hackmd.io/v1
# HACKMD_WEB_DOMAIN=https://hackmd.io
#
# For self-hosted HackMD:
# HACKMD_API_ENDPOINT=https://your-hackmd.example.com/api/v1
# HACKMD_WEB_DOMAIN=https://your-hackmd.example.com
#
# Production environment example:
# TEST_MODE=false
# REQUEST_DELAY_MS=300
# RESUME_MODE=false