PlanOpticon

planopticon / docs / guide / cloud-sources.md
1
# Cloud Sources
2
3
PlanOpticon connects to 20+ source platforms for fetching videos, documents, and notes.
4
5
## Google Drive
6
7
### Service account auth
8
9
For automated/server-side usage:
10
11
```bash
12
export GOOGLE_APPLICATION_CREDENTIALS="/path/to/service-account.json"
13
planopticon batch --source gdrive --folder-id "abc123" -o ./output
14
```
15
16
### OAuth2 user auth
17
18
For interactive usage with your own Google account:
19
20
```bash
21
planopticon auth google
22
planopticon batch --source gdrive --folder-id "abc123" -o ./output
23
```
24
25
### Install
26
27
```bash
28
pip install planopticon[gdrive]
29
```
30
31
## Google Workspace (gws)
32
33
Full Google Workspace integration beyond just Drive. Access Docs, Sheets, Slides, and Meet recordings through the `gws` CLI group.
34
35
### Setup
36
37
```bash
38
planopticon auth google
39
```
40
41
A single Google OAuth session covers Drive, Docs, Sheets, Slides, and Meet.
42
43
### Usage
44
45
```bash
46
# List all Google Workspace content
47
planopticon gws list
48
49
# List only Google Docs
50
planopticon gws list --type docs
51
52
# List Meet recordings
53
planopticon gws list --type meet
54
55
# Fetch a specific file
56
planopticon gws fetch abc123def --output ./downloads
57
58
# Ingest an entire Drive folder into a knowledge base
59
planopticon gws ingest --folder-id abc123 --output ./kb --recursive
60
```
61
62
## Microsoft 365 (m365)
63
64
Access OneDrive, SharePoint, Teams recordings, and Outlook content.
65
66
### Setup
67
68
```bash
69
# Set your Azure AD app credentials
70
export MICROSOFT_CLIENT_ID="your-client-id"
71
export MICROSOFT_CLIENT_SECRET="your-client-secret"
72
73
# Authenticate
74
planopticon auth microsoft
75
```
76
77
### Usage
78
79
```bash
80
# List all Microsoft 365 content
81
planopticon m365 list
82
83
# List only Teams recordings
84
planopticon m365 list --type teams
85
86
# List SharePoint files from a specific site
87
planopticon m365 list --type sharepoint --site "Engineering"
88
89
# Fetch a specific file
90
planopticon m365 fetch item-id-123 --output ./downloads
91
92
# Ingest SharePoint content into a knowledge base
93
planopticon m365 ingest --site "Engineering" --path "/Shared Documents" --output ./kb --recursive
94
```
95
96
## Dropbox
97
98
### OAuth2 auth
99
100
```bash
101
planopticon auth dropbox
102
planopticon batch --source dropbox --folder "/Recordings" -o ./output
103
```
104
105
### Install
106
107
```bash
108
pip install planopticon[dropbox]
109
```
110
111
## YouTube
112
113
PlanOpticon can ingest YouTube videos by URL. Audio is extracted and transcribed, and any visible content (slides, diagrams) is captured from frames.
114
115
```bash
116
# Ingest a YouTube video
117
planopticon ingest "https://www.youtube.com/watch?v=example" --output ./kb
118
119
# Ingest a playlist
120
planopticon ingest "https://www.youtube.com/playlist?list=example" --output ./kb
121
```
122
123
YouTube ingestion uses `yt-dlp` under the hood. Install it separately if not already available:
124
125
```bash
126
pip install yt-dlp
127
```
128
129
## Meeting recordings
130
131
Access cloud recordings from Zoom, Microsoft Teams, and Google Meet.
132
133
### Zoom
134
135
```bash
136
# Set credentials and authenticate
137
export ZOOM_CLIENT_ID="your-client-id"
138
export ZOOM_CLIENT_SECRET="your-client-secret"
139
planopticon auth zoom
140
141
# List recent Zoom recordings
142
planopticon recordings zoom-list
143
144
# List recordings from a date range
145
planopticon recordings zoom-list --from 2026-01-01 --to 2026-02-01
146
```
147
148
### Microsoft Teams
149
150
```bash
151
# Authenticate with Microsoft (covers Teams)
152
planopticon auth microsoft
153
154
# List Teams recordings
155
planopticon recordings teams-list
156
157
# List recordings from a date range
158
planopticon recordings teams-list --from 2026-01-01 --to 2026-02-01
159
```
160
161
### Google Meet
162
163
```bash
164
# Authenticate with Google (covers Meet)
165
planopticon auth google
166
167
# List Meet recordings
168
planopticon recordings meet-list --limit 10
169
```
170
171
## Notes sources
172
173
PlanOpticon can ingest notes and documents from several note-taking platforms.
174
175
### Obsidian
176
177
Ingest an Obsidian vault directly. PlanOpticon follows wikilinks and parses frontmatter.
178
179
```bash
180
planopticon ingest ~/Obsidian/MyVault --output ./kb --recursive
181
```
182
183
### Notion
184
185
```bash
186
# Set your Notion integration token
187
export NOTION_API_KEY="secret_..."
188
189
# Authenticate
190
planopticon auth notion
191
192
# Export knowledge base to Notion
193
planopticon export notion --input ./kb --parent-page abc123
194
```
195
196
### Apple Notes
197
198
PlanOpticon can read Apple Notes on macOS via the system AppleScript bridge.
199
200
```bash
201
planopticon ingest --source apple-notes --output ./kb
202
```
203
204
### GitHub
205
206
Ingest README files, wikis, and documentation from GitHub repositories.
207
208
```bash
209
# Set your GitHub token
210
export GITHUB_TOKEN="ghp_..."
211
212
# Authenticate
213
planopticon auth github
214
215
# Ingest a repo's docs
216
planopticon ingest "github://ConflictHQ/PlanOpticon" --output ./kb
217
```
218
219
## All cloud sources
220
221
```bash
222
pip install planopticon[cloud]
223
```
224

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button