CLI Reference
Folderbot provides a command-line interface for configuration and management.
Bot Management
folderbot runRun the bot. Use
--bot NAMEfor multi-bot configurations.folderbot run folderbot run --bot work
folderbot statusShow current configuration status, file counts, and database info.
folderbot updateCheck PyPI for newer versions and upgrade if available.
Configuration
folderbot initInteractive setup wizard. Creates
.folderbot/config.tomlin the current directory. Prompts for Telegram token, API key, and user ID. The root folder is implicit from the location.folderbot config showDisplay the current configuration.
folderbot config set KEY VALUESet a configuration value.
folderbot config set telegram_token "YOUR_TOKEN" folderbot config set model "claude-sonnet-4-20250514"
folderbot config folder PATHSet the root folder path.
folderbot config folder ~/my-notes
Folder Management
folderbot move DESTINATIONMove the entire folder to a new location and update the systemd service if installed.
cd /old/path/my-notes folderbot move /new/path/my-notes
This moves the folder, updates the systemd
WorkingDirectory, and reloads the daemon. If no systemd service is installed, it simply moves the folder.
Systemd Service
Install and manage Folderbot as a systemd user service.
folderbot service installInstall the systemd service and auto-update timer. Use
--bot NAMEfor multi-bot setups.folderbot service enableEnable the service to start on login.
folderbot service startStart the service.
folderbot service stopStop the service.
folderbot service statusShow the service status.
folderbot service logsView service logs. Use
-fto follow.folderbot service logs folderbot service logs -f
folderbot service uninstallRemove the service and timer.
Telegram Commands
These commands are available in the Telegram chat:
Command |
Description |
|---|---|
|
Initialize bot and show help |
|
Clear conversation history |
|
Start a new topic (clears history) |
|
Show session info (message count, file count) |
|
List files available in context |
|
List your scheduled tasks |