Skip to content

DREwX-code/omnichat-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OmniChat Exporter

GreasyFork GreasyFork installs Version GitHub license

OmniChat Exporter Preview

Export conversations from major AI platforms in multiple formats

OmniChat Exporter allows you to export conversations from ChatGPT, Gemini, Claude, Grok, and DeepSeek in TXT, Markdown, JSON, or PDF.

Fast. Clean. Reliable.


What OmniChat Exporter does

  • Adds export controls directly inside supported AI platforms
  • Allows exporting a full conversation thread
  • Allows exporting individual messages
  • Generates structured and clean output files
  • Works instantly in the browser

Everything runs locally.


Main Features

Export Control

  • Full conversation export
  • Per-message export
  • Clean file structure depending on format
  • Native UI integration on each supported platform

Supported Formats

TXT – simple and universal
  • Plain text export
  • Preserves message roles and readable chat structure
  • Lightweight and compatible with any text editor
  • Suitable for quick backups and simple archiving
Markdown – perfect for documentation and reuse
  • Converts chat content into clean and reusable Markdown
  • Preserves headings, paragraphs, lists, quotes and code blocks
  • Supports links, tables and inline code
  • Supports math conversion for KaTeX / LaTeX content
  • Suitable for documentation, notes, publishing and reuse in other tools
JSON – structured data for automation
  • Structured export format designed for automation and processing
  • Exports message roles, plain text and HTML content
  • Preserves message order and conversation structure
  • Suitable for scripts, pipelines, backups and data analysis
PDF – browser-generated document, ready to share

Core features

  • Client-side PDF generation using pdfmake
  • Automatic conversation scan before PDF generation
  • Local language and script detection
  • Smart loading of fonts based on detected scripts
  • Multilingual text support with mixed-script rendering
  • Script-aware font routing to ensure correct character rendering

Content rendering

  • Per-message PDF rendering with preserved role blocks
  • Conversation metadata included in the document header
  • Support for formatted text, lists, quotes, code blocks, tables and HTML-derived content
  • Syntax-highlighted code rendering

Character support

  • Support for emoji, symbols and extended Unicode characters (rendered in black and white when necessary)

Reliability and compatibility

  • Built-in PDF generation popup with progress indicator
  • Progressive preparation stages: scan → detection → font loading → generation
  • Automatic fallback and retry strategy when a font triggers a rendering error
  • No conversation data is sent to external services
  • Improved compatibility with strict CSP environments through Tampermonkey requests

Multilingual PDF Support

The PDF export system supports many writing systems including:

Latin, Extended Latin, Cyrillic, Greek, Arabic, Hebrew, Chinese, Japanese, Korean,
Devanagari, Bengali, Gurmukhi, Gujarati, Odia, Tamil, Telugu, Kannada, Malayalam,
Sinhala, Thai, Khmer, Lao, Myanmar, Georgian, Armenian, Ethiopic and Egyptian hieroglyphs.

Fonts are automatically loaded depending on detected scripts to keep the export lightweight and reliable.


Export Characteristics

All export formats share the following properties:

  • Includes the source URL
  • Includes the export date / timestamp
  • Includes the conversation title when available
  • Keeps a readable conversation structure with message roles
  • Generated locally in the browser
  • No external API used

Supported Platforms

  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • DeepSeek

Privacy

All export operations are performed locally in the browser. No conversation data is sent to external servers.


Third-Party Libraries

pdfmake

Used for generating PDF files directly in the browser.

No chat content is transmitted to any external PDF service.

franc-min

Used for local language detection before PDF generation.

Source: https://github.com/wooorm/franc
License: MIT

Noto Fonts

Used for multilingual PDF rendering when required.

Sources:

Licenses:

  • SIL Open Font License 1.1
  • Apache License 2.0

Installation

Install View Source

  1. Install a userscript manager such as Tampermonkey
    https://www.tampermonkey.net/

  2. Click Install OmniChat Exporter above or install from GreasyFork.

  3. Open a supported AI platform.

  4. Use the export controls directly in the interface.


Feedback and Contributions

Feedback and improvement suggestions are welcome via:


Author

Developed and maintained by Dℝ∃wX (GitHub: DREwX-code).
Engineered for performance, precision, and long-term evolution.


License

This project is licensed under the Apache License 2.0.
You are free to use, modify, and redistribute it under the terms of the license.

About

Export and download conversations from ChatGPT, Gemini, Claude, Grok, and DeepSeek in TXT, PDF, JSON, or Markdown format.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors