1
- # HackMD API Configuration
2
- # Get your access token from: https://hackmd.io/@hackmd-api/developer-portal
1
+ # HackMD Conference Note Generation Environment Variables
3
2
4
- # Required: Your HackMD access token
3
+ # Required: HackMD API Access Token
4
+ # Get this from your HackMD instance settings > API tokens
5
+ # For hackmd.io: https://hackmd.io/@hackmd-api/developer-portal
5
6
HACKMD_ACCESS_TOKEN = your_access_token_here
6
7
7
- # Optional: HackMD API endpoint (defaults to https://api.hackmd.io/v1)
8
- HACKMD_API_ENDPOINT = https://api.hackmd.io/v1
8
+ # Required: HackMD API Endpoint URL
9
+ # For hackmd.io: https://api.hackmd.io/v1
10
+ # For self-hosted: https://your-hackmd-instance.com/api/v1
11
+ HACKMD_API_ENDPOINT = https://api.hackmd.io/v1
12
+
13
+ # Optional: HackMD Web Domain (for generating correct note URLs)
14
+ # This is useful when your API endpoint differs from the web domain
15
+ # For hackmd.io: https://hackmd.io
16
+ # For self-hosted: https://your-hackmd-instance.com
17
+ # If not set, defaults to the API endpoint
18
+ HACKMD_WEB_DOMAIN = https://hackmd.io
19
+
20
+ # Optional: Test Mode
21
+ # Set to 'true' to create limited notes for testing
22
+ # Set to 'false' or omit for full note generation
23
+ TEST_MODE = false
24
+
25
+ # Optional: Resume Mode
26
+ # Set to 'true' to resume from previous interrupted execution
27
+ # Set to 'false' or omit for fresh generation
28
+ RESUME_MODE = false
29
+
30
+ # Optional: Fixed delay (milliseconds) between API requests
31
+ # Use to avoid rate limits in production environments
32
+ # Can also be set via --delay-ms CLI flag
33
+ # Recommended: 200-500ms for production
34
+ REQUEST_DELAY_MS = 0
35
+
36
+ # Example configurations:
37
+ #
38
+ # For hackmd.io:
39
+ # HACKMD_API_ENDPOINT=https://api.hackmd.io/v1
40
+ # HACKMD_WEB_DOMAIN=https://hackmd.io
41
+ #
42
+ # For self-hosted HackMD:
43
+ # HACKMD_API_ENDPOINT=https://your-hackmd.example.com/api/v1
44
+ # HACKMD_WEB_DOMAIN=https://your-hackmd.example.com
45
+ #
46
+ # Production environment example:
47
+ # TEST_MODE=false
48
+ # REQUEST_DELAY_MS=300
49
+ # RESUME_MODE=false
0 commit comments