PDF Processing with Poppler
Clark can process PDF files and convert them to images for visual understanding. This feature requires Poppler, a PDF rendering library that includes the pdftoppm utility.
Installing Poppler
Installation varies by operating system:
macOS (Homebrew)
Ubuntu/Debian
Fedora/RHEL
Windows
Download the latest release from the Poppler for Windows repository, extract it, and add the bin/ folder to your system PATH.
Verify Installation
After installation, verify that pdftoppm is available:
You should see version information. If the command is not found, ensure Poppler's bin directory is in your PATH.
Running Models Locally with Ollama
Ollama lets you run large language models locally on your machine without requiring an API key or internet connection. This is perfect for:
- Working offline or with intermittent connectivity
- Keeping your data completely private
- Avoiding API costs for frequent usage
- Experimenting with different open-source models
Installing Ollama
- Visit ollama.ai and download the installer for your platform
- Run the installer and follow the setup instructions
- Open a terminal and verify the installation:
Downloading Models
Once Ollama is installed, you need to download a model. Just make sure that the model supports tool use and image input.
Using Ollama with Clark
- Make sure Ollama is running (it starts automatically on most systems)
- Start Clark and use the /model command
- Select "Ollama" as your provider and choose your downloaded model
Working with Obsidian
Obsidian is a powerful markdown editor that works perfectly with Clark's note structure. Since Clark stores everything as plain markdown files, you can use Obsidian to:
- View and edit your notes with a rich markdown preview
- Visualize connections between notes with the graph view
- Use plugins for advanced features like daily notes, templates, and spaced repetition
- Search across all your notes with powerful query syntax
- Work offline with full sync across devices
Setting Up Obsidian with Clark
- Download and install Obsidian from obsidian.md
- Open Obsidian and select "Open folder as vault"
- Navigate to your Clark workspace directory (e.g., ~/Library)
- Obsidian will now show all your markdown notes, wikilinks, and folder structure
Recommended Workflow
Many users find it helpful to use both Clark and Obsidian together:
- Use Clark for interactive learning, asking questions, and working through problems
- Use Obsidian for reviewing notes, organizing content, and seeing the big picture
- Edit templates and structures in Obsidian's rich editor
- Use Obsidian's graph view to discover connections you didn't realize existed
You're All Set
These dependencies are all optional. Clark will work great with just the basic installation — these tools simply enhance specific features.