Context RepoContext Repo Docs
Dashboard

Documents

Add documents to your Context Repo workspace by typing content, uploading files in 75+ formats, or scraping web pages — then listen, search, version, and discover related content.

Documents are your knowledge base in Context Repo. You can add content three ways — type it directly, upload a file, or scrape a web page — and then edit, version, listen to, and discover related documents from your workspace.

Each document gets its own detail page with three tabs: Preview, Editor, and Versioning.

Creating Documents

The documents toolbar offers three ways to add content to your workspace.

Manual Entry

Click Paste Content in the toolbar to open the creation dialog. This is the fastest way to add text or markdown content directly.

FieldRequiredDescription
TitleYesA descriptive name for your document
ContentYesThe document text — plain text or markdown are both supported
TagsNoKeywords to help organize and find this document later
CollectionsNoAssign to one or more collections right away

Click Create Document to save. You'll be taken directly to the document detail page.

File Upload

Click Upload Files to open the upload dialog. You can drag and drop files, click to browse, or even capture a photo with your device's camera.

Context Repo supports 75+ file formats across six categories:

CategoryPopular Formats
DocumentsPDF, DOCX, DOC, RTF, Pages
PresentationsPPTX, PPT, Keynote, ODP
SpreadsheetsXLSX, XLS, CSV, TSV, Numbers
ImagesJPG, PNG, GIF, SVG, WebP (with OCR text extraction)
E-BooksEPUB
Web ContentHTML, HTM

You can upload multiple files at once. Each file gets its own title, tags, and collection assignments — or you can apply the same collections to all files with the Apply to all toggle.

Processing Options

Expand the Processing Options section for fine-grained control over how your files are processed:

  • Document Language — Select the primary language (15 languages supported including English, Spanish, French, Chinese, Japanese, and more)
  • Parsing Mode — Choose the quality-vs-speed tradeoff:
    • Default (Auto-detect) — Balanced processing for most documents
    • Fast Mode — Quicker processing, lower credit cost
    • Premium Mode — Highest quality extraction, uses more credits
    • LLM Mode — AI-enhanced parsing for complex documents
  • Document Type Preset — Optimize parsing for specific types like emails, resumes, financial reports, or research papers
  • OCR Settings — Control text extraction from images and scanned PDFs:
    • Auto-detect (recommended) — Enables OCR only when needed
    • Always enabled — Extracts text from all documents
    • Disabled — Skips OCR for faster processing

Click View all supported formats in the upload dialog for a complete list of every file type, organized by category.

Web Scraping

Click Scrape Page to extract content from any web page. Enter a URL and Context Repo pulls the page content into a document for you.

FieldRequiredDescription
URLYesThe web page address to scrape — https:// is added automatically if you don't include it
CollectionsNoAssign the scraped content to collections

Advanced Scraping Options

Expand the Advanced Options section for more control over how the page is extracted:

OptionDefaultDescription
Only main contentOnStrips navigation, headers, footers, and sidebars so you get just the article or page body
Include screenshotOffCaptures a visual snapshot of the page alongside the text content
Wait before scraping0 secondsSet a delay (0–30 seconds) before scraping to let dynamic content load — useful for pages that render with JavaScript
Extract structured dataOffPull specific data points from the page using a natural language prompt. For example, enter "Extract the product name, price, and description" to get structured fields from a product page

Editing and Preview

Open any document to see its detail page. The Preview tab shows your content rendered as formatted markdown, along with metadata like source URL, author, and usage stats (views, shares, exports).

Switch to the Editor tab to make changes:

  1. Update the title, content, or collection assignments
  2. Click Save Changes when you're done

The editor supports full markdown with a live editing experience. If you change your mind, click Cancel to discard your edits.

For uploaded files, the Editor tab also displays processing information — the language detected, parsing mode used, OCR status, pages processed, and credits consumed (see Credit Calculation below).

If the document changes after you start editing, Context Repo preserves your local text instead of overwriting it. Choose Load server version to discard your draft, Copy my draft to put it on your clipboard, or keep editing after you review the newer version.

Managed editing

The document owner can enable Managed editing from the detail page. In this mode, Context Repo acquires a short editing lease before the editor becomes writable and renews it while you work. Workspace editors can acquire and use the lease, but only the document owner can enable or disable the policy.

If another editor holds the lease, or a renewal loses the current fence, your editor becomes read-only and keeps your draft. Leave and reopen the editor to acquire a fresh lease after the other lease is released or expires.

Version History

A save creates a new canonical revision only when a tracked field changed. If the saved values exactly match the current document, you'll see No changes to save and no history entry is added.

What's Tracked

Each version records:

  • The full document content at that point in time
  • A change log describing what was updated
  • A timestamp
  • The trusted actor type and display name, plus the change origin
  • Whether the snapshot is complete, synthetic, or a legacy partial snapshot
  • A line-by-line diff compared to the previous version, shown in both content and metadata tabs

Restoring a Previous Version

Switch to the Versioning tab to see the full timeline. Click the expand arrow on any version to view its diff, then click Restore to roll back. Restoring creates a new revision from the selected canonical snapshot; your history is never lost. Complete and synthetic history rows restore every canonical field, including content and metadata.

A LEGACY_PARTIAL_SNAPSHOT warning means the historical row predates complete canonical snapshot capture. Context Repo restores the fields that were recorded and preserves current values for fields that were absent.

Credit Calculation

When you upload a file, Context Repo displays a credit breakdown on the document's Editor tab. This shows how many processing credits were used and the estimated cost based on the parsing mode:

Parsing ModeCredits per Page
Fast Mode1 credit
Default (Auto-detect)3 credits
Premium Mode45 credits
LLM Mode45 credits

OCR adds 3 credits per page when enabled. If a document was already processed and cached, re-processing costs zero credits.

Credit calculation only applies to uploaded files. Manual text entries and scraped web pages don't use processing credits.

Managing Documents

Actions Menu

The actions menu (three-dot icon) on any document detail page gives you quick access to:

  • Copy content — Copies the title and content to your clipboard
  • Export — Download as Markdown or JSON
  • Share — Copy a shareable link
  • Archive / Unarchive — Hide from your main list without deleting
  • Delete — Permanently remove the document and all its versions

Deleting a document removes it and all its version history permanently. If you might need it later, consider archiving instead.