[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-5119":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":34,"readmeContent":35,"aiSummary":36,"trendingCount":16,"starSnapshotCount":16,"syncStatus":37,"lastSyncTime":38,"discoverSource":39},5119,"Yearning","cookieY\u002FYearning","cookieY","🐳 A most popular sql audit platform for mysql ","http:\u002F\u002Fnext.yearning.io\u002F",null,"Go",8951,2037,226,160,0,1,4,17,6,40.93,"GNU Affero General Public License v3.0",false,"next",[26,27,28,29,30,31,32,33],"devops","go","golang","mysql","mysql-web-sql","sql","sql-audit","yearning","2026-06-12 02:01:08","\u003Cdiv align=\"center\">\n\n\u003Ch1 style=\"border-bottom: none\">\n    \u003Cb>\u003Ca href=\"https:\u002F\u002Fnext.yearning.io\">Yearning\u003C\u002Fa>\u003C\u002Fb>\u003Cbr \u002F>\n\u003C\u002Fh1>\n\u003C\u002Fdiv>\n\n A robust, locally deployed platform designed for seamless SQL detection and query auditing, tailored specifically for DBAs and developers. Focused on privacy and efficiency, it provides an intuitive and secure environment for MYSQL auditing.\n\n---\n[![OSCS Status](https:\u002F\u002Fwww.oscs1024.com\u002Fplatform\u002Fbadge\u002FcookieY\u002FYearning.svg?size=small)](https:\u002F\u002Fwww.murphysec.com\u002Fdr\u002FnDuoncnUbuFMdrZsh7)\n![Platform Support](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002F-x86_x64%20ARM%20Supports%20%E2%86%92-rgb(84,56,255)?style=flat-square&logoColor=white&logo=linux)\n[![][github-license-shield]][github-license-link]\n![GitHub top language](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Flanguages\u002Ftop\u002FcookieY\u002FYearning?color=369eff&label=golang&labelColor=black&logo=golang&logoColor=white&style=flat-square)\n[![][github-forks-shield]][github-forks-link]\n[![][github-stars-shield]][github-stars-link]\n[![Downloads](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fdownloads\u002FcookieY\u002FYearning\u002Ftotal?labelColor=black&logo=download&logoColor=white&style=flat-square)](https:\u002F\u002Fgithub.com\u002FcookieY\u002FYearning\u002Freleases\u002Flatest)\n\nEnglish | [简体中文](README.zh-CN.md) | [日本語](README.ja-JP.md)\n\n## ✨ Features\n\n- **AI Assistant**: Our AI assistant offers real-time SQL optimization suggestions, enhancing SQL performance. It also supports text-to-SQL conversion, allowing users to input natural language and receive optimized SQL statements.\n  \n- **SQL Audit**: Create SQL audit tickets with approval workflows and automated syntax checks. Validate SQL statements for correctness, security, and compliance. Rollback statements are automatically generated for DDL\u002FDML operations, with a comprehensive history log for traceability.\n\n- **Query Audit**: Audit user queries, restrict data sources and databases, and anonymize sensitive fields. Query records are saved for future reference.\n\n- **Check Rules**: Our automated syntax checker supports a wide range of check rules, suitable for most automatic checking scenarios.\n\n- **Privacy Focused**: Yearning is a locally deployable, open-source solution that ensures the security of your database and SQL statements. It includes encryption mechanisms to protect sensitive data, ensuring it remains secure even if unauthorized access occurs.\n\n- **RBAC (Role-Based Access Control)**: Create and manage roles with specific permissions, restricting access to query work orders, auditing functions, and other sensitive operations based on user roles.\n\n> \\[!TIP]\n> For more detailed information, visit our [Yearning Guide](https:\u002F\u002Fnext.yearning.io)\n\n\n## ⚙️ Installation\n\nDownload the [latest release](https:\u002F\u002Fgithub.com\u002FcookieY\u002FYearning\u002Freleases\u002Flatest) and extract it. Ensure you have configured `.\u002Fconfig.toml` before proceeding.\n\n### Manual Installation\n\n```bash\n## Initialize the database\n.\u002FYearning install\n\n## Start Yearning\n.\u002FYearning run\n\n## Help\n.\u002FYearning --help\n```\n\n### 🚀 Deploying with Docker\n[![][docker-release-shield]][docker-release-link]\n[![][docker-size-shield]][docker-size-link]\n[![][docker-pulls-shield]][docker-pulls-link]\n```bash\n## Initialize the database\ndocker run --rm -it -p8000:8000 -e SECRET_KEY=$SECRET_KEY -e MYSQL_USER=$MYSQL_USER -e MYSQL_ADDR=$MYSQL_ADDR -e MYSQL_PASSWORD=$MYSQL_PASSWORD -e MYSQL_DB=$Yearning_DB -e Y_LANG=zh_CN yeelabs\u002Fyearning \"\u002Fopt\u002FYearning install\"\n\n## Start Yearning\ndocker run -d -it -p8000:8000 -e SECRET_KEY=$SECRET_KEY -e MYSQL_USER=$MYSQL_USER -e MYSQL_ADDR=$MYSQL_ADDR -e MYSQL_PASSWORD=$MYSQL_PASSWORD -e MYSQL_DB=$Yearning_DB -e Y_LANG=zh_CN yeelabs\u002Fyearning\n```\n## 🤖 AI Assistance\n\nOur AI Assistant leverages a large language model to provide SQL optimization suggestions and text-to-SQL conversion. Whether using default or custom prompts, the AI Assistant enhances SQL performance by optimizing statements and converting natural language inputs into SQL queries.\n\n![Text to SQL](img\u002Ftext2sql.jpg)\n\n## 🔖 Automatic SQL Checker\n\nThe automatic SQL checker evaluates SQL statements against predefined rules and syntax. It ensures that statements adhere to specific coding standards, best practices, and security requirements, providing a robust layer of validation.\n\n![SQL Audit](img\u002Faudit.png)\n\n## 💡 SQL Syntax Highlighting and Auto-completion\n\nEnhance your query writing efficiency with SQL syntax highlighting and auto-completion. These features help users visually distinguish different components of a SQL query, such as keywords, table names, column names, and operators, making it easier to read and understand the query structure.\n\n![SQL Query](img\u002Fquery.png)\n\n## ⏺️ Order\u002FQuery Record\n\nOur platform supports the auditing of user order and query statements. This feature allows you to track and record all query operations, including data sources, databases, and the handling of sensitive fields, ensuring compliance with regulations and providing traceability for query history.\n\n![Order\u002FQuery Record](img\u002Frecord.png)\n\nBy focusing on these key features, Yearning enhances user experience, optimizes SQL performance, and ensures robust compliance and traceability in database operations.\n\n## 🛠️ Recommended Tools\n\n- [Spug - Open Source Lightweight Automation Operations Platform](https:\u002F\u002Fgithub.com\u002Fopenspug\u002Fspug)\n\n## ☎️ Contact\n\nFor inquiries, please email us at: henry@yearning.io\n\n## 📋 License\n\nYearning is licensed under the AGPL license. See [LICENSE](LICENSE) for details.\n\n2024 © Henry Yee\n\n---\n\nWith Yearning, experience a streamlined, secure, and efficient approach to SQL auditing and optimization.\n\n\n[docker-pulls-link]: https:\u002F\u002Fhub.docker.com\u002Fr\u002Fyeelabs\u002Fyearning\n[docker-pulls-shield]: https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fpulls\u002Fyeelabs\u002Fyearning?color=45cc11&labelColor=black&style=flat-square\n[docker-release-link]: https:\u002F\u002Fhub.docker.com\u002Fr\u002Fyeelabs\u002Fyearning\n[docker-release-shield]: https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fv\u002Fyeelabs\u002Fyearning?color=369eff&label=docker&labelColor=black&logo=docker&logoColor=white&style=flat-square\n[docker-size-link]: https:\u002F\u002Fhub.docker.com\u002Fr\u002Fyeelabs\u002Fyearning\n[docker-size-shield]: https:\u002F\u002Fimg.shields.io\u002Fdocker\u002Fimage-size\u002Fyeelabs\u002Fyearning?color=369eff&labelColor=black&style=flat-square\n[github-forks-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fforks\u002FcookieY\u002FYearning?color=8ae8ff&labelColor=black&style=flat-square\n[github-forks-link]: https:\u002F\u002Fgithub.com\u002FcookieY\u002FYearning\u002Fnetwork\u002Fmembers\n[github-stars-link]: https:\u002F\u002Fgithub.com\u002FcookieY\u002FYearning\u002Fnetwork\u002Fstargazers\n[github-stars-shield]: https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fstars\u002FcookieY\u002FYearning?color=ffcb47&labelColor=black&style=flat-square\n[github-license-link]: https:\u002F\u002Fgithub.com\u002FcookieY\u002FYearning\u002Fblob\u002Fmain\u002FLICENSE\n[github-license-shield]: https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAGPL%203.0-white?labelColor=black&style=flat-square\n","Yearning 是一个为 MySQL 设计的流行 SQL 审计平台。其核心功能包括SQL审计、查询审计、AI助手提供的实时SQL优化建议及文本到SQL转换服务、以及强大的角色基础访问控制（RBAC）。技术上，Yearning 采用 Go 语言开发，支持 x86_x64 和 ARM 架构，并且强调本地部署以保障隐私和数据安全。该平台适用于需要增强数据库操作安全性与合规性的场景，如企业内部数据库管理、开发测试环境等，特别适合DBA和开发者使用。",2,"2026-06-11 03:02:37","top_language"]