Skip to content

arelove/infinity-loop

Repository files navigation

Infinity Loop logo

∞ Infinity Loop

Every answer opens a new question. Type any topic and get an interactive knowledge graph of connected concepts, sources, and ideas, generated by AI.

License: Apache 2.0 Tauri 2 Svelte 5 Rust Windows

About  ·  Screenshots  ·  Quick Start  ·  Settings  ·  Shortcuts  ·  Tech Stack

Share on X Share on Reddit Share on Telegram


What is this

Infinity Loop is a desktop application for visual knowledge exploration. You enter a concept — "quantum entanglement," "history of jazz," "how TCP/IP works" — and the app builds a live graph: idea nodes, connections between them, and sources and images pulled from the web.

The app has two modes:

  • Seek — AI search mode. Ask a question, and Gemini together with Tavily build the graph.
  • Dev — code analysis mode. Load a codebase, and the app maps out its architecture.

Screenshots

Seek mode — landing Seek mode — enter any topic to start exploring

Dev mode — codebase explorer Dev mode — load a codebase and explore its architecture

Quick Start

Prerequisites

Tool Version Why
Node.js 18+ Frontend build
Rust stable Backend
Tauri CLI 2.x App bundling
Tavily API key Web search
Gemini API key AI generation

Installation

# 1. Clone the repo
git clone https://github.com/arelove/infinity-loop.git
cd infinity-loop

# 2. Install dependencies
npm install

# 3. Run in dev mode
npm run tauri dev

Once the app is running, open the settings panel in the top-right corner and enter your API keys. Keys are stored in memory only and are never sent anywhere except the official APIs.


API Keys

The app relies on two external services:

Tavily Search — web search with smart aggregation Get a key at app.tavily.com (free tier available).

Google Gemini — language model used for graph generation Get a key at Google AI Studio (free).

Seek mode — AI knowledge graph in action Once your keys are set, type any topic and watch the graph build itself

Building a Release

Windows — one installer for both Win 10 and Win 11

npm run tauri build

The installer will be at:

src-tauri/target/release/bundle/nsis/InfinityLoop_0.1.0_x64-setup.exe

Win 10 + Win 11 from a single build. tauri.conf.json is configured with "webviewInstallMode": { "type": "embedBootstrapper" }. If WebView2 isn't already installed (older Win 10 systems), the installer downloads and installs it automatically. On Win 11, WebView2 is already built in. No need to rebuild per OS.


Settings

Open the settings panel from the top-right corner of the app to configure:

  • API Keys — your Tavily and Gemini keys
  • Language — English or Russian
  • Graphics QualityHigh for smooth animations and full effects, or Low for better performance on older or integrated GPUs

Keyboard Shortcuts

Key Action
Ctrl+S Save graph
Ctrl+E Export as PNG
Ctrl+R Reset / new search
Escape Close modal

Project Structure

infinity-loop/
├── src/                    # Frontend (SvelteKit + Svelte 5)
│   ├── lib/
│   │   ├── components/     # UI components
│   │   ├── i18n/           # Localization (EN / RU)
│   │   └── api.ts          # IPC calls to Rust backend
│   └── routes/
│       ├── _seek/          # AI search mode
│       └── _dev/           # Code analysis mode
│
└── src-tauri/              # Backend (Rust + Tauri 2)
    └── src/
        └── lib.rs          # Commands: search, sessions, API keys
Project architecture map — generated with Infinity Loop Dev mode Architecture map generated by Infinity Loop itself, using its own Dev mode

Tech Stack

  • Tauri 2 — native shell, IPC, filesystem access
  • SvelteKit + Svelte 5 — reactive UI with runes
  • Xyflow/Svelte — interactive node graph
  • Tailwind CSS — styling
  • GSAP — animations
  • Rust — HTTP client (reqwest), session storage, API proxy

Localization

The app supports English and Russian. Use the language switcher in the bottom-left corner.

To add a new language, copy src/lib/i18n/en.ts and translate the strings.


License

Apache 2.0 © Arelove


Inspired by RabbitHoles AI and its idea of endless, curiosity-driven exploration.

↑ Back to top

About

AI knowledge graph explorer built with Tauri + Svelte + Rust

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors