Ai-Markmap  by kongkongyo

AI-driven mind mapping from any text

Created 5 months ago
267 stars

Top 96.1% on SourcePulse

GitHubView on GitHub
Project Summary

A zero-dependency, single-file HTML application, Ai-Markmap transforms text or Markdown into interactive mind maps using Large Language Models (LLMs). It targets users needing to quickly digest and structure information, offering an AI-driven approach to visualize complex content. The project's unique aspect is that over 90% of its code was generated, refactored, and iterated upon by AI models, providing a novel development methodology.

How It Works

This pure frontend tool leverages Vanilla JavaScript and the Markmap library for rendering. Users input text or Markdown, which is then processed by an LLM (via a configurable OpenAI-compatible API) to extract key information and generate a mind map structure. The tool supports generating multiple versions (1-5) of the map simultaneously, allowing users to select the best output. Interactive editing is supported directly on the mind map nodes and via real-time Markdown synchronization.

Quick Start & Requirements

To start, download the index.html file and open it directly in a desktop web browser (mobile support is not provided). Users must configure access to an OpenAI-compatible API endpoint and provide an API key via the settings panel. Input text can be typed directly or pasted from the clipboard, after which AI generation can be initiated.

Highlighted Details

  • AI-powered intelligent generation of mind maps from arbitrary text or Markdown.
  • Multi-version generation (1-5 maps) with a slider for selection.
  • Interactive editing: Real-time Markdown sync and direct node manipulation (edit/delete) on the mind map.
  • Highly customizable: Supports connecting to any OpenAI API-compatible endpoint, selecting models, and defining custom prompts.
  • Export functionality for PNG images and SVG vector files.
  • Privacy-focused: All configurations, including API keys, are stored locally in the browser's localStorage.
  • Dual-language (Chinese/English) interface and keyboard shortcuts for efficiency.

Maintenance & Community

No specific details regarding maintainers, community channels (like Discord/Slack), or project roadmap are present in the provided README.

Licensing & Compatibility

The project is released under the permissive MIT License, allowing for broad use, modification, and distribution, including in commercial applications.

Limitations & Caveats

The application is strictly for desktop browsers; mobile support is explicitly stated as unavailable. Functionality is dependent on the user providing and configuring access to an external LLM API endpoint and associated API key.

Health Check
Last Commit

3 weeks ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
22 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.