Skip to content

Repository files navigation

MarkChem Logo

MarkChem

A Modern, AI-Powered Chemistry Markdown Editor


MarkChem Screenshot

License: MIT Tauri React


Writing chemistry notes in standard word processors is a nightmare. General markdown editors lack deep chemistry support out of the box.

MarkChem is a specialized, open-source desktop editor that combines the speed of Markdown with deep integrations for chemical equations, molecular drawing, and AI assistance.

✨ Features

  • ⚛️ Native Chemistry Syntax: Write chemical equations natively using mhchem (\ce{H2O}).
  • 🧬 Molecular Drawing (JSME): Draw 2D molecules via the built-in UI and insert them instantly as SMILES syntax. No external tools needed!
  • 📊 Periodic Table Integration: Access an interactive periodic table to quickly lookup and insert atomic properties into your notes.
  • 🤖 Chem AI Assistant: A built-in AI assistant powered by Google Gemini (BYOK). Select a chemical reaction and ask the AI to balance it, explain it, or brainstorm synthesis pathways.
  • Lightning Fast: Built on Tauri and Rust. Uses a fraction of the RAM compared to Electron apps like MarkText or Obsidian.
  • Markdown First: Write seamlessly in Markdown with real-time, live preview.
  • Offline & Secure: Runs entirely on your local machine with zero telemetry.
  • Export Anywhere: Export your notes directly to .md, Word (.docx), or PDF.

⭐ Support the Project If you find MarkChem useful for your studies, research, or work, please consider leaving a ⭐️ Star on this repository! It helps the project grow and reach more chemists!


🚀 Installation

Note: Pre-compiled installers for Windows (.exe), macOS (.dmg), and Linux (.AppImage) are automatically generated via GitHub Actions.

Go to the Releases page and download the installer for your operating system!

💻 Development Setup

If you want to build MarkChem from source or contribute to the project:

Prerequisites

  • Node.js (v20+)
  • Rust (latest stable)
  • C++ Build Tools (Windows) or Xcode (macOS)

Running Locally

# Clone the repository
git clone https://github.com/karidasd/MarkChem.git
cd MarkChem

# Install dependencies (use legacy-peer-deps due to React 19 + JSME compatibility)
npm install --legacy-peer-deps

# Run the development server
npm run tauri dev

🛠️ Built With

  • Tauri (Desktop Application Framework)
  • React 19 & Vite (Frontend UI)
  • Tailwind CSS (Styling)
  • KaTeX & mhchem (Math and Chemistry Rendering)
  • JSME (Molecular Drawer)
  • CodeMirror 6 (Text Editor Engine)

🤝 Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

📝 License

Distributed under the MIT License. See LICENSE for more information.

About

A modern, open-source Chemistry Markdown Editor. Built with React and Tauri, MarkChem allows you to write chemical equations, draw molecular structures, and chat with a built-in AI Assistant seamlessly. Fast, secure, and fully offline-capable.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages