├── api
├── __init__.py
├── config.py
└── index.py
├── requirements.txt
├── vercel.json
├── .gitignore
├── README.md
└── LICENSE
/api/__init__.py:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/requirements.txt:
--------------------------------------------------------------------------------
1 | Flask==3.0.3
2 | requests==2.31.0
3 | mistune==3.1.2
--------------------------------------------------------------------------------
/vercel.json:
--------------------------------------------------------------------------------
1 | {
2 | "rewrites": [
3 | { "source": "/(.*)", "destination": "/api/index" }
4 | ]
5 | }
6 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .vercel
2 | *.log
3 | *.pyc
4 | __pycache__
5 |
6 | # Environments
7 | .env
8 | .venv
9 | env/
10 | venv/
11 | ENV/
12 | env.bak/
13 | venv.bak/
14 | .vercel
15 |
--------------------------------------------------------------------------------
/api/config.py:
--------------------------------------------------------------------------------
1 | plugin_info = {
2 | "versions": {
3 | "223": {
4 | "since_version": "223",
5 | "until_version": "223.*"
6 | },
7 | "233": {
8 | "since_version": "233",
9 | "until_version": "233.*"
10 | },
11 | "241": {
12 | "since_version": "241",
13 | "until_version": "251.*"
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Auto-dev-idea-repository
2 | the Intellij IDEA Custom Plugin Repository
3 |
4 | 1. Go to `Settings` → `Plugins` → `Marketplace` → `Manage Plugin Repositories`
5 | 2. Add the following URL:
6 | ```
7 | https://plugin.unitmesh.cc/updatePlugins.xml
8 | ```
9 |
10 | ## Running Locally
11 |
12 | ```bash
13 | npm i -g vercel
14 | vercel dev
15 | ```
16 |
17 | Your Flask application is now available at `http://localhost:3000`.
18 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2025 Unit Mesh - 开源 AI 研发提效解决方案
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/api/index.py:
--------------------------------------------------------------------------------
1 | from flask import Flask, Response, request
2 | import requests
3 | import time
4 | import mistune
5 | import xml.etree.ElementTree as ET
6 | from xml.dom import minidom
7 | from xml.sax.saxutils import escape
8 | from api.config import plugin_info
9 |
10 | # 常量定义
11 | CACHE_TIMEOUT = 300 # 缓存超时时间(秒)
12 | GITHUB_API_URL = "https://api.github.com/repos/unit-mesh/auto-dev/releases/latest"
13 |
14 | # 缓存相关变量
15 | _cache = {}
16 |
17 | # XML模板定义
18 | UPDATES_XML_TEMPLATE = """
19 |
26 |
27 | 🧙AutoDev: The AI-powered coding wizard with multilingual support 🌐, auto code generation 🏗️, and a helpful bug-slaying
28 | assistant 🐞! Customizable prompts 🎨 and a magic Auto Testing feature 🧪 included! 🚀]]>