Ryson-32/AI-Magnet-Assistant
Über uns
AI Magnet Assistant: Aggregates multi-engine magnet links with AI optimization for smart filtering and organization. AI磁力助手:聚合多引擎磁力链接,AI优化搜索结果,智能筛选和整理。
KI und maschinelles LernenWhat you can do
- Pain points: Messy page structure and noisy titles; uneven result quality; heavy manual filtering.
- Tech stack: Tauri + Rust (backend/system), Vue 3 + TypeScript (frontend).
- Multi-engine aggregation: built-in engine first, others in parallel; real-time status shows the model in use.
- Two-stage AI: Stage 1 HTML extraction (for custom engines) → Stage 2 content analysis (title cleaning, tags, purity 0–100).
Gemessener Sternzuwachs
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- -1
- in 1 month
- Verlauf wird gesammelt
Nettoänderungen in überlappenden Zeiträumen, keine Tagessummen. Fehlende Messwerte bleiben leer. Sterne zeigen Interesse, nicht Qualität.
README.md
OriginalIf this project helps you, please give it a ⭐!
AI Magnet Assistant is an intelligent magnet link search and optimization tool. It aggregates results from multiple engines, enhances non-structured pages with AI, and helps you rank and curate clean results.
Highlights & Use Cases ⭐
- Pain points: Messy page structure and noisy titles; uneven result quality; heavy manual filtering.
- Tech stack: Tauri + Rust (backend/system), Vue 3 + TypeScript (frontend).
- Core features:
- Multi-engine aggregation: built-in engine first, others in parallel; real-time status shows the model in use.
- Two-stage AI: Stage 1 HTML extraction (for custom engines) → Stage 2 content analysis (title cleaning, tags, purity 0–100).
- Efficiency & management: Favorites and centralized download; priority keywords; sort by score/size; quick copy/open source link.
- Download integration: quick download via custom application path.
- Use cases: Aggregated search; noise reduction and tagging; magnet favorites and centralized downloads.
Screenshots 🖼️
How It Works ⚙️
Search Orchestration
- Built-in engine first: Fetches initial results quickly from the built-in engine (if enabled), then merges other engines' results in parallel.
- Real-time status: The UI streams status (search, analysis progress, and the model in use) during the process.
Two-Phase AI Pipeline (for custom engines and analysis)
- HTML Content Extraction: The backend calls Gemini to extract
{ title, magnet_link, file_size, source_url }from raw HTML. This is used for custom engines. API base and model are configurable. - Content Analysis: The frontend triggers parallel batches to clean titles, compute a purity score, and generate tags (e.g., 4K, Chinese, Chinese Sub, BluRay). It falls back to individual analysis on failure and updates status live.
Persistence
- All configuration and data (engines, favorites, priority keywords, AI configs, locale, etc.) are stored in
app_data.json. Open its folder via Settings → Data.
Notes 📝
Note: Current backend implementation supports Google Gemini. The OpenAI option is visible in the UI but not wired up in the backend yet.
- gemini-2.5-flash: Recommended for HTML extraction (Stage 1).
- gemini-2.5-flash-lite: Recommended for content analysis (Stage 2), faster and cost-effective.
Actual speed depends on network and page complexity; batch analysis is parallel with automatic fallbacks.
Usage Workflow 🧭
Initial Setup
- Go to Settings → AI Configuration; fill API base, model, and API key for both Extraction and Analysis; use the Test buttons.
- Optionally add custom engines (Engines page) using template or auto-from-examples.
- Configure Download settings (application path, quick download, auto-close page) and Language.
Search
- Enter a keyword on Home; choose pages and toggles (AI filter, title must contain keyword).
- Results appear as soon as the built-in engine returns; additional engines merge in; analysis can refine titles/tags/score.
Curate
- Sort by score or size; add Favorites; manage Priority keywords to boost matches; open source pages; copy/open magnet links quickly.
Deployment Instructions 🛠️
Prerequisites
- Node.js 18+
- Rust (latest stable)
Clone
git clone https://github.com/Ryson-32/AI-Magnet-Assistant.git
cd AI-Magnet-Assistant
Install
npm install
Run (development)
npm run dev
Frontend only:
npm run vite:dev
Build
npx tauri build
Known Issues 🐞
- OpenAI provider is not supported by the backend yet; Gemini is required.
- Some sites use heavy JS or anti-bot; HTML may be JS or garbled. The app logs a preview and may fall back or return fewer results.
- Hitting rate limits can cause analysis failures; see Settings for rate limits and tips (e.g., gemini-balance).
- The custom downloader quick-download feature is currently available on Windows only.
License 📄
MIT License. See the LICENSE.
Ähnliche Projekte entdecken
Wird geladen…