@screenpipe/js
- for node.js environments (nextjs api routes, etc)@screenpipe/browser
- for browser environmentspipe.json
file to your pipe folder with this config for example:
/api/log
route every 5 minutes.
check how the obsidian pipe implements this, route and pipe.json for a complete example.
we recommend using the CLI to add the update-pipe-config
server action to your pipe. this will allow you to update the pipe’s cron schedule using a server action.
use-pipe-settings
: manage pipe-specific and global app settings.use-health
: monitor pipe health and status.use-ai-provider
: integrate seamlessly with ai providers.use-sql-autocomplete
: provide sql query assistance.use-pipe-settings
hook for react componentsget-screenpipe-app-settings
server actioncustomSettings.yourPipeName
in screenpipe app settings