-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.js
More file actions
44 lines (34 loc) · 1.42 KB
/
config.js
File metadata and controls
44 lines (34 loc) · 1.42 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
// Configuration for the Obsidian Google Docs Bookmarklet
// ⚠️ SECURITY WARNING: This config is used by client-side JavaScript
// DO NOT commit your actual token to version control!
const CONFIG = {
// Your GitHub Fine-Grained Personal Access Token
// Generate at: GitHub Settings → Developer settings → Personal access tokens → Fine-grained
// Permissions needed: Contents (Write), Metadata (Read)
// Scope: Only your Obsidian notes repository
GITHUB_TOKEN: 'your_fine_grained_token_here',
// Your GitHub username
REPO_OWNER: 'your_username',
// Your Obsidian notes repository name
REPO_NAME: 'obsidian-notes',
// Optional: Path within your repo for meeting notes (with trailing slash)
// Leave empty string '' for root directory
NOTES_PATH: 'Meeting Notes/',
// Default note template settings
TEMPLATE: {
// Include document title in the note
includeDocTitle: true,
// Include document URL
includeDocUrl: true,
// Include timestamp
includeTimestamp: true,
// Default tags to add to every note
defaultTags: ['#meeting-notes', '#imported'],
// File naming pattern: 'timestamp', 'title', or 'custom'
fileNaming: 'timestamp'
}
};
// Export for use in other files
if (typeof module !== 'undefined' && module.exports) {
module.exports = CONFIG;
}