How yazmani/pushpilot works
Pushpilot is a browser extension for sending and receiving Pushbullet content, with a dashboard for feeds, Android notification mirroring, and SMS. The main workflow runs from the browser UI through RPC dispatch in the background, into account/API services, and back into extension storage or browser notifications. The graph also preserves the documented feed, phone, SMS, settings, and dashboard capabilities. Some feature implementations were not sampled; those nodes use exact paths from the tree, and their links are shown only where the README or source index supports them.
Main entry points: router.ts RPC router · App.tsx App shell · rpc.ts RPC messaging · store.ts Extension storage
Components 26
Browser interface
- App shell
src/ui/app/App.tsx - Send composer
src/ui/features/send/SendView.tsx - Sign-in
src/ui/features/auth/SignIn.tsx - Feed and chat
src/ui/features/feed/FeedView.tsx - Dashboard
src/ui/dashboard/Dashboard.tsx - Phone mirror
src/ui/features/phone/PhoneView.tsx - SMS conversations
src/ui/features/sms/SmsView.tsx - Settings
src/ui/features/settings/SettingsPage.tsx
Background services
- Background entry
src/background/index.ts - RPC router
src/background/router.ts - Account and auth
src/background/services/account.ts - Live stream
src/background/services/stream.ts - Push sync
src/background/services/pushes.ts - Send queue
src/background/services/outbox.ts - Notification mirror
src/background/services/mirror.ts - SMS service
src/background/services/sms.ts - Preview fetch
src/background/services/previews.ts
Shared core
- RPC messaging
src/core/messaging/rpc.ts - Extension storage
src/core/storage/store.ts - Link previews
src/core/utils/links.ts - Pushbullet client
src/core/pushbullet/client.ts
Browser integration
- Desktop notifications
src/background/platform/notifications.ts - Offscreen media
src/background/platform/offscreen.ts - Browser windows
src/background/platform/windows.ts
Other components
- Browser user
- Pushbullet service
Connections 40
- Browser user → App shell: opens
- App shell → Send composer: renders
src/ui/app/App.tsx - App shell → Sign-in: renders
src/ui/app/App.tsx - App shell → Feed and chat: renders
src/ui/app/App.tsx - App shell → Phone mirror: renders
src/ui/app/App.tsx - App shell → SMS conversations: renders
src/ui/app/App.tsx - App shell → Dashboard: renders
src/ui/app/App.tsx - Send composer → RPC messaging: requests
src/ui/features/send/SendView.tsx - Sign-in → RPC messaging: requests
src/ui/features/auth/SignIn.tsx - Feed and chat → RPC messaging: requests
src/ui/features/feed/FeedView.tsx - Settings → RPC messaging: requests
src/ui/features/settings/SettingsPage.tsx - RPC messaging → RPC router: dispatches
src/background/router.ts - Background entry → RPC router: registers
src/background/index.ts - RPC router → Account and auth: dispatches
src/background/router.ts - RPC router → Push sync: dispatches
src/background/router.ts - RPC router → Send queue: dispatches
src/background/router.ts - RPC router → Notification mirror: dispatches
src/background/router.ts - RPC router → SMS service: dispatches
src/background/router.ts - RPC router → Preview fetch: dispatches
src/background/router.ts - Account and auth → Extension storage: reads and writes
src/background/services/account.ts - Account and auth → Pushbullet client: uses
src/background/services/account.ts - Pushbullet client → Pushbullet service: calls API
src/core/pushbullet/client.ts - Live stream → Pushbullet client: opens stream
src/background/services/stream.ts - Live stream → Push sync: dispatches events
src/background/services/stream.ts - Live stream → Notification mirror: dispatches events
src/background/services/stream.ts - Live stream → SMS service: dispatches events
src/background/services/stream.ts - Push sync → Extension storage: stores pushes
src/background/services/pushes.ts - Push sync → Desktop notifications: shows alerts
src/background/services/pushes.ts - Push sync → Browser windows: opens links
src/background/services/pushes.ts - Send queue → Pushbullet client: sends pushes
src/background/services/outbox.ts - Send queue → Extension storage: persists queue
src/background/services/outbox.ts - Notification mirror → Desktop notifications: shows mirror
src/background/services/mirror.ts - Notification mirror → Offscreen media: uses media
src/background/services/mirror.ts - SMS service → Pushbullet client: uses
src/background/services/sms.ts - SMS service → Extension storage: stores SMS
src/background/services/sms.ts - Preview fetch → Extension storage: caches previews
src/background/services/previews.ts - Preview fetch → Link previews: parses links
src/background/services/previews.ts - Desktop notifications → Offscreen media: plays sound
src/background/platform/notifications.ts - RPC messaging → Extension storage: shared state
src/core/messaging/rpc.ts - Browser user → Settings: configures