{"id":15024162,"url":"https://github.com/hhyo/archery","last_synced_at":"2025-05-12T13:23:52.146Z","repository":{"id":37335563,"uuid":"150677832","full_name":"hhyo/Archery","owner":"hhyo","description":"SQL 审核查询平台","archived":false,"fork":false,"pushed_at":"2025-04-23T04:13:31.000Z","size":24625,"stargazers_count":6314,"open_issues_count":222,"forks_count":1724,"subscribers_count":125,"default_branch":"master","last_synced_at":"2025-04-23T16:07:37.930Z","etag":null,"topics":["archery","binlog2sql","clickhouse","data-masking","database-schema","ddl","dml","gh-ost","inception","mysql","oracle","sql-audit","sql-query"],"latest_commit_sha":null,"homepage":"https://archerydms.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hhyo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-09-28T02:59:33.000Z","updated_at":"2025-04-23T09:13:02.000Z","dependencies_parsed_at":"2023-12-11T02:24:30.182Z","dependency_job_id":"995644f2-fe5d-4208-99c0-d8fa99bde4c9","html_url":"https://github.com/hhyo/Archery","commit_stats":null,"previous_names":[],"tags_count":65,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhyo%2FArchery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhyo%2FArchery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhyo%2FArchery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hhyo%2FArchery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hhyo","download_url":"https://codeload.github.com/hhyo/Archery/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253745571,"owners_count":21957403,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["archery","binlog2sql","clickhouse","data-masking","database-schema","ddl","dml","gh-ost","inception","mysql","oracle","sql-audit","sql-query"],"created_at":"2024-09-24T19:59:53.136Z","updated_at":"2025-05-12T13:23:52.125Z","avatar_url":"https://github.com/hhyo.png","language":"Python","readme":"\u003cdiv align=\"center\"\u003e\n\n# \u003ca href=\"https://archerydms.com/\" target=\"_blank\" rel=\"noopener noreferrer\"\u003eArchery\u003c/a\u003e\n\u003ch4\u003e SQL 审核查询平台\u003ch4\u003e\n\n[![Django CI](https://github.com/hhyo/Archery/actions/workflows/django.yml/badge.svg)](https://github.com/hhyo/Archery/actions/workflows/django.yml)\n[![Release](https://img.shields.io/github/release/hhyo/archery.svg)](https://github.com/hhyo/archery/releases/)\n[![codecov](https://codecov.io/gh/hhyo/archery/branch/master/graph/badge.svg)](https://codecov.io/gh/hhyo/archery)\n[![version](https://img.shields.io/pypi/pyversions/django)](https://img.shields.io/pypi/pyversions/django/)\n[![version](https://img.shields.io/badge/django-4.1-brightgreen.svg)](https://docs.djangoproject.com/zh-hans/4.1/)\n[![Publish Docker image](https://github.com/hhyo/Archery/actions/workflows/docker-image.yml/badge.svg)](https://github.com/hhyo/Archery/actions/workflows/docker-image.yml)\n[![docker_pulls](https://img.shields.io/docker/pulls/hhyo/archery.svg)](https://hub.docker.com/r/hhyo/archery/)\n[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](http://github.com/hhyo/archery/blob/master/LICENSE)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n\n[文档](https://archerydms.com/) | [FAQ](https://github.com/hhyo/archery/wiki/FAQ) | [Releases](https://github.com/hhyo/archery/releases/)\n\n![](https://github.com/hhyo/Archery/wiki/images/dashboard.png)\n\n\u003c/div\u003e\n\n功能清单\n====\n\n| 数据库        | 查询 | 审核 | 执行 | 备份 | 数据字典 | 慢日志 | 会话管理 | 账号管理 | 参数管理 | 数据归档 |\n|------------| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |\n| MySQL      | √ | √ | √ | √ | √ | √ | √ | √ | √ | √ |\n| MsSQL      | √ | × | √ | × | √ | × | × | × | × | × |\n| Redis      | √ | × | √ | × | × | × | × | × | × | × |\n| PgSQL      | √ | × | √ | × | × | × | × | × | × | × |\n| Oracle     | √ | √ | √ | √ | √ | × | √  | × | × | × |\n| MongoDB    | √ | √  | √  | × | × | × | √  | √ | × | × |\n| Phoenix    | √ | ×  | √  | × | × | × | × | × | × | × |\n| ODPS       | √ | ×  | ×  | × | × | × | × | × | × | × |\n| ClickHouse | √ | √  | √  | × | × | × | × | × | × | × |\n| Cassandra  | √ | ×  | √  | × | × | × | × | × | × | × |\n| Doris      | √ | ×  | √  | × | × | × | × | × | × | × |\n\n\n\n快速开始\n===============\n### 系统体验\n[在线体验](https://demo.archerydms.com)\n\n| 账号 | 密码 |\n| --- | --- |\n| archer | archer |\n\n### Docker\n参考 https://github.com/hhyo/archery/wiki/docker \n\n手动安装\n===============\n[部署说明](https://github.com/hhyo/archery/wiki/manual)\n\n运行测试\n===============\n```\npython manage.py test -v 3\n```\n\n依赖清单\n===============\n### 框架\n- [Django](https://github.com/django/django)\n- [Bootstrap](https://github.com/twbs/bootstrap)\n- [jQuery](https://github.com/jquery/jquery)\n### 前端组件\n- 菜单栏 [metisMenu](https://github.com/onokumus/metismenu)\n- 主题 [sb-admin-2](https://github.com/BlackrockDigital/startbootstrap-sb-admin-2)\n- 编辑器 [ace](https://github.com/ajaxorg/ace)\n- SQL美化 [sql-formatter](https://github.com/zeroturnaround/sql-formatter)\n- 表格  [bootstrap-table](https://github.com/wenzhixin/bootstrap-table)\n- 表格编辑  [bootstrap-editable](https://github.com/vitalets/x-editable)\n- 下拉菜单 [bootstrap-select](https://github.com/snapappointments/bootstrap-select)\n- 文件上传 [bootstrap-fileinput](https://github.com/kartik-v/bootstrap-fileinput)\n- 时间选择  [bootstrap-datetimepicker](https://github.com/smalot/bootstrap-datetimepicker)\n- 日期选择  [daterangepicker](https://github.com/dangrossman/daterangepicker)\n- 开关  [bootstrap-switch](https://github.com/Bttstrp/bootstrap-switch)\n- Markdown展示  [marked](https://github.com/markedjs/marked)\n### 服务端\n- 队列任务 [django-q](https://github.com/Koed00/django-q)\n- MySQL Connector [mysqlclient-python](https://github.com/PyMySQL/mysqlclient-python)\n- MsSQL Connector [pyodbc](https://github.com/mkleehammer/pyodbc)\n- Redis Connector [redis-py](https://github.com/andymccurdy/redis-py)\n- PostgreSQL Connector [psycopg2](https://github.com/psycopg/psycopg2)\n- Oracle Connector [cx_Oracle](https://github.com/oracle/python-cx_Oracle)\n- MongoDB Connector [pymongo](https://github.com/mongodb/mongo-python-driver)\n- Phoenix Connector [phoenixdb](https://github.com/lalinsky/python-phoenixdb)\n- ODPS Connector [pyodps](https://github.com/aliyun/aliyun-odps-python-sdk)\n- ClickHouse Connector [clickhouse-driver](https://github.com/mymarilyn/clickhouse-driver)\n- SQL解析/切分/类型判断 [sqlparse](https://github.com/andialbrecht/sqlparse)\n- MySQL Binlog解析/回滚 [python-mysql-replication](https://github.com/noplay/python-mysql-replication)\n- LDAP [django-auth-ldap](https://github.com/django-auth-ldap/django-auth-ldap)\n- 序列化 [simplejson](https://github.com/simplejson/simplejson)\n- 时间处理 [python-dateutil](https://github.com/paxan/python-dateutil)\n### 功能依赖\n- 可视化 [pyecharts](https://github.com/pyecharts/pyecharts)\n- MySQL审核/执行/备份 [goInception](https://github.com/hanchuanchuan/goInception)|[inception](https://github.com/hhyo/inception)\n- MySQL索引优化 [SQLAdvisor](https://github.com/Meituan-Dianping/SQLAdvisor)\n- SQL优化/压缩 [SOAR](https://github.com/XiaoMi/soar)\n- My2SQL [my2sql](https://github.com/liuhr/my2sql)\n- 表结构同步 [SchemaSync](https://github.com/hhyo/SchemaSync)\n- 慢日志解析展示 [pt-query-digest](https://www.percona.com/doc/percona-toolkit/3.0/pt-query-digest.html)|[aquila_v2](https://github.com/thinkdb/aquila_v2)\n- 大表DDL [gh-ost](https://github.com/github/gh-ost)|[pt-online-schema-change](https://www.percona.com/doc/percona-toolkit/3.0/pt-online-schema-change.html)\n- MyBatis XML解析 [mybatis-mapper2sql](https://github.com/hhyo/mybatis-mapper2sql)\n- RDS管理 [aliyun-openapi-python-sdk](https://github.com/aliyun/aliyun-openapi-python-sdk)\n- 数据加密 [django-mirage-field](https://github.com/luojilab/django-mirage-field)\n\n\n贡献代码\n===============\n可查阅主页的开发计划以及依赖清单，在对应Issues中回复认领，或者直接提交PR，感谢你对Archery的贡献\n\n贡献包括但不限于以下方式：\n- [Wiki文档](https://github.com/hhyo/Archery/wiki)（开放编辑）\n- Bug修复\n- 新功能提交\n- 代码优化\n- 测试用例完善\n\n交流反馈\n===============\n- 使用咨询、需求沟通：[Discussions](https://github.com/hhyo/Archery/discussions)\n- Bug提交：[Issues](https://github.com/hhyo/archery/issues)\n\n致谢\n===============\n- [archer](https://github.com/jly8866/archer) Archery 项目是基于 archer 二次开发而来\n- [goInception](https://github.com/hanchuanchuan/goInception) 一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具\n- [JetBrains Open Source](https://www.jetbrains.com/zh-cn/opensource/?from=archery) 为项目提供免费的 IDE 授权  \n  [\u003cimg src=\"https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.png\" width=\"200\"/\u003e](https://www.jetbrains.com/opensource/)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhyo%2Farchery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhhyo%2Farchery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhhyo%2Farchery/lists"}