├── api ├── logs │ └── .gitkeep ├── common │ ├── __init__.py │ ├── sms │ │ └── __init__.py │ ├── celery │ │ └── __init__.py │ ├── tp_auth │ │ ├── __init__.py │ │ └── google_utils.py │ ├── apscheduler │ │ └── __init__.py │ ├── system_email │ │ └── __init__.py │ ├── redis.py │ ├── hash.py │ └── cron.py ├── config │ ├── __init__.py │ ├── redis.py │ ├── milvus.py │ ├── oauth2.py │ ├── neo4j.py │ ├── sql.py │ ├── file_system.py │ ├── sms.py │ └── base.py ├── data │ ├── __init__.py │ ├── milvus │ │ ├── __init__.py │ │ ├── query.py │ │ ├── delete.py │ │ ├── base.py │ │ └── insert.py │ ├── neo4j │ │ ├── __init__.py │ │ ├── create.py │ │ ├── delete.py │ │ └── base.py │ ├── sql │ │ ├── __init__.py │ │ └── base.py │ └── custom_types │ │ └── __init__.py ├── engine │ ├── __init__.py │ ├── image │ │ └── __init__.py │ ├── tts │ │ ├── __init__.py │ │ └── volc │ │ │ └── __init__.py │ └── markdown │ │ └── __init__.py ├── enums │ ├── __init__.py │ ├── mcp.py │ ├── user.py │ ├── section.py │ ├── engine.py │ ├── file.py │ ├── document.py │ └── model.py ├── file │ └── __init__.py ├── prompts │ └── __init__.py ├── proxy │ └── __init__.py ├── router │ └── __init__.py ├── embedding │ ├── __init__.py │ └── qwen.py ├── notification │ ├── __init__.py │ ├── tool │ │ └── __init__.py │ ├── source │ │ ├── __init__.py │ │ ├── dingtalk_notification_source.py │ │ ├── feishu_notification_source.py │ │ ├── telegram_notification_source.py │ │ ├── email_notification_source.py │ │ ├── apple_notification_source.py │ │ └── apple_sandbox_notification_source.py │ ├── target │ │ ├── __init__.py │ │ ├── email_notification_target.py │ │ ├── telegram_notification_target.py │ │ ├── apple_notification_target.py │ │ ├── apple_sandbox_notification_target.py │ │ ├── feishu_notification_target.py │ │ └── dingtalk_notification_target.py │ ├── template │ │ └── __init__.py │ └── trigger_event │ │ ├── __init__.py │ │ ├── removed_from_section.py │ │ ├── section_commented.py │ │ ├── section_subscribed.py │ │ └── section_updated.py ├── official │ ├── __init__.py │ ├── data │ │ ├── __init__.py │ │ └── sql │ │ │ └── __init__.py │ ├── engine │ │ └── __init__.py │ └── hooks │ │ └── __init__.py ├── protocol │ ├── __init__.py │ ├── tts_engine.py │ ├── notification_trigger.py │ ├── notification_source.py │ ├── notification_target.py │ └── notification_template.py ├── alembic │ ├── versions │ │ └── .gitkeep │ ├── README │ └── script.py.mako ├── .dockerignore ├── schemas │ ├── celery.py │ ├── error.py │ ├── __init__.py │ ├── graph.py │ ├── common.py │ ├── api_key.py │ └── pagination.py ├── crud │ └── __init__.py ├── models │ └── __init__.py ├── README.md └── Dockerfile ├── oidc ├── common │ ├── __init__.py │ ├── redis.py │ ├── jwks.py │ └── hash.py ├── config │ ├── __init__.py │ ├── base.py │ └── oauth2.py ├── data │ ├── __init__.py │ └── sql │ │ └── base.py ├── .gitignore ├── alembic │ ├── README │ └── script.py.mako ├── crud │ └── __init__.py ├── models │ └── __init__.py ├── schemas │ ├── __init__.py │ ├── oauth.py │ └── common.py └── keys │ ├── public.pem │ └── private.pem ├── web ├── public │ ├── .gitkeep │ └── images │ │ ├── cover.jpg │ │ └── wechatCustomerServiceCode.jpg ├── .gitignore ├── src │ ├── generated │ │ ├── .openapi-generator │ │ │ └── VERSION │ │ ├── index.ts │ │ ├── apis │ │ │ └── index.ts │ │ └── docs │ │ │ ├── Message.md │ │ │ ├── PhoneInfo.md │ │ │ ├── GithubInfo.md │ │ │ ├── GithubUserBind.md │ │ │ ├── GoogleInfo.md │ │ │ ├── GoogleUserBind.md │ │ │ ├── ModelRequest.md │ │ │ ├── ValidationErrorLocInner.md │ │ │ ├── BindEmailRequest.md │ │ │ ├── Edge.md │ │ │ ├── GithubUserCreate.md │ │ │ ├── GoogleUserCreate.md │ │ │ ├── UserInfoRequest.md │ │ │ ├── DaySectionRequest.md │ │ │ ├── EmailCreateRequest.md │ │ │ ├── ModelCreateResponse.md │ │ │ ├── AddRssServerResponse.md │ │ │ ├── SectionProcessTask.md │ │ │ ├── VectorSearchRequest.md │ │ │ ├── EngineSearchRequest.md │ │ │ ├── SectionCreateResponse.md │ │ │ ├── SummaryItem.md │ │ │ ├── FileUrlPrefixRequest.md │ │ │ ├── MCPServerDeleteRequest.md │ │ │ ├── MCPServerDetailRequest.md │ │ │ ├── Node.md │ │ │ ├── SectionGraphRequest.md │ │ │ ├── ApiKeyCreateRequest.md │ │ │ ├── ApiKeyCreateResponse.md │ │ │ ├── BindEmailVerifyRequest.md │ │ │ ├── DocumentTransformTask.md │ │ │ ├── SectionDeleteRequest.md │ │ │ ├── SectionDetailRequest.md │ │ │ ├── TokenUpdateRequest.md │ │ │ ├── DeleteModelRequest.md │ │ │ ├── DocumentGraphRequest.md │ │ │ ├── EngineDeleteRequest.md │ │ │ ├── FileUrlPrefixResponse.md │ │ │ ├── MCPServerSearchRequest.md │ │ │ ├── ModelProviderRequest.md │ │ │ ├── ReadRequest.md │ │ │ ├── SectionSeoDetailRequest.md │ │ │ ├── StarRequest.md │ │ │ ├── DeleteRssServerRequest.md │ │ │ ├── DocumentDetailRequest.md │ │ │ ├── FileSystemSearchRequest.md │ │ │ ├── ModelSearchResponse.md │ │ │ ├── SmsUserCodeCreateRequest.md │ │ │ ├── WeChatWebUserBindRequest.md │ │ │ ├── ApiKeysDeleteRequest.md │ │ │ ├── DocumentCreateResponse.md │ │ │ ├── EngineInstallResponse.md │ │ │ ├── FileSystemInfoRequest.md │ │ │ ├── GeneratePodcastRequest.md │ │ │ ├── InitialPasswordResponse.md │ │ │ ├── SectionRePublishRequest.md │ │ │ ├── BindPhoneCodeCreateRequest.md │ │ │ ├── GetRssServerDetailRequest.md │ │ │ ├── ModelProviderCreateResponse.md │ │ │ ├── SectionPublishGetRequest.md │ │ │ ├── UserLoginRequest.md │ │ │ ├── WeChatWebUserCreateRequest.md │ │ │ ├── DocumentAiSummaryRequest.md │ │ │ ├── DocumentDeleteRequest.md │ │ │ ├── PageableRequest.md │ │ │ └── SchemasSectionLabel.md │ ├── generated-pay │ │ ├── .openapi-generator │ │ │ └── VERSION │ │ ├── index.ts │ │ ├── apis │ │ │ └── index.ts │ │ ├── models │ │ │ └── index.ts │ │ └── docs │ │ │ ├── OrderStatusRequestDTO.md │ │ │ ├── OrderStatusResponseDTO.md │ │ │ └── GetOrderDetailRequestDTO.md │ ├── config │ │ ├── github.ts │ │ ├── google.ts │ │ └── api.ts │ ├── enums │ │ ├── mcp.ts │ │ ├── engine.ts │ │ ├── product.ts │ │ ├── file.ts │ │ ├── model.ts │ │ ├── notification.ts │ │ └── section.ts │ ├── app │ │ ├── favicon.ico │ │ ├── (seo) │ │ │ ├── layout.tsx │ │ │ └── page.tsx │ │ ├── integrations │ │ │ ├── wechat │ │ │ │ └── oauth │ │ │ │ │ ├── bind │ │ │ │ │ └── callback │ │ │ │ │ │ └── loading.tsx │ │ │ │ │ └── create │ │ │ │ │ └── callback │ │ │ │ │ └── loading.tsx │ │ │ ├── github │ │ │ │ └── oauth2 │ │ │ │ │ ├── bind │ │ │ │ │ └── callback │ │ │ │ │ │ └── loading.tsx │ │ │ │ │ └── create │ │ │ │ │ └── callback │ │ │ │ │ └── loading.tsx │ │ │ └── google │ │ │ │ └── oauth2 │ │ │ │ ├── bind │ │ │ │ └── callback │ │ │ │ │ └── loading.tsx │ │ │ │ └── create │ │ │ │ └── callback │ │ │ │ └── loading.tsx │ │ ├── (private) │ │ │ ├── user │ │ │ │ └── detail │ │ │ │ │ └── [id] │ │ │ │ │ └── page.tsx │ │ │ ├── section │ │ │ │ ├── detail │ │ │ │ │ └── [id] │ │ │ │ │ │ ├── page.tsx │ │ │ │ │ │ └── not-found.tsx │ │ │ │ └── mine │ │ │ │ │ └── page.tsx │ │ │ ├── document │ │ │ │ ├── detail │ │ │ │ │ └── [id] │ │ │ │ │ │ ├── not-found.tsx │ │ │ │ │ │ └── page.tsx │ │ │ │ └── mine │ │ │ │ │ └── page.tsx │ │ │ └── revornix-ai │ │ │ │ └── page.tsx │ │ └── (public) │ │ │ ├── layout.tsx │ │ │ ├── login │ │ │ └── page.tsx │ │ │ └── register │ │ │ └── page.tsx │ ├── static │ │ ├── logo.png │ │ ├── website.png │ │ ├── hot-search.png │ │ ├── logo.dark.png │ │ └── responsive.png │ ├── api │ │ ├── celery.ts │ │ ├── order.ts │ │ ├── api_key.ts │ │ ├── graph.ts │ │ ├── product.ts │ │ ├── engine.ts │ │ ├── mcp.ts │ │ ├── rss.ts │ │ └── ai.ts │ ├── provider │ │ ├── dashboard-provider.tsx │ │ ├── theme-provider.tsx │ │ ├── react-query-privider.tsx │ │ └── login-provider.tsx │ ├── schemas │ │ └── pagination.ts │ ├── i18n │ │ ├── config.ts │ │ ├── request.ts │ │ └── locale.ts │ ├── components │ │ ├── notification │ │ │ ├── notification-record-card-skeleton.tsx │ │ │ ├── notification-task-manage.tsx │ │ │ ├── notification-source-manage.tsx │ │ │ └── notification-target-manage.tsx │ │ ├── rss │ │ │ └── rss-card-skeleton.tsx │ │ ├── document │ │ │ ├── document-card-skeleton.tsx │ │ │ └── add-document-box.tsx │ │ ├── section │ │ │ └── section-card-skeleton.tsx │ │ ├── ui │ │ │ ├── skeleton.tsx │ │ │ ├── spinner.tsx │ │ │ ├── sonner.tsx │ │ │ ├── label.tsx │ │ │ ├── separator.tsx │ │ │ └── textarea.tsx │ │ ├── revornixai │ │ │ └── ai-chat-hydrated-client.tsx │ │ ├── setting │ │ │ ├── engine-manager.tsx │ │ │ ├── file-system-manage.tsx │ │ │ ├── model-collection.tsx │ │ │ └── mcp-server-manage.tsx │ │ ├── user │ │ │ ├── login-form.tsx │ │ │ └── uuid.tsx │ │ ├── markdown │ │ │ ├── callout.tsx │ │ │ └── mdx-content.tsx │ │ ├── seo │ │ │ ├── footer.tsx │ │ │ └── nav.tsx │ │ ├── icons │ │ │ └── google-icon.tsx │ │ └── app │ │ │ └── hash-highlighter.tsx │ ├── protocol │ │ └── file-service.ts │ ├── service │ │ ├── order.ts │ │ ├── graph.ts │ │ └── api-key.ts │ ├── lib │ │ └── use-store.ts │ └── hooks │ │ └── use-mobile.tsx ├── .dockerignore ├── postcss.config.mjs ├── next-env.d.ts ├── .env.example └── components.json ├── celery-worker ├── logs │ └── .gitkeep ├── common │ ├── __init__.py │ ├── sms │ │ └── __init__.py │ ├── celery │ │ └── __init__.py │ ├── system_email │ │ └── __init__.py │ └── hash.py ├── config │ ├── __init__.py │ ├── mail.py │ ├── redis.py │ ├── milvus.py │ ├── oauth2.py │ ├── neo4j.py │ ├── base.py │ ├── sql.py │ ├── file_system.py │ └── sms.py ├── data │ ├── __init__.py │ ├── milvus │ │ ├── __init__.py │ │ ├── delete.py │ │ ├── base.py │ │ └── insert.py │ ├── neo4j │ │ ├── __init__.py │ │ ├── delete.py │ │ └── base.py │ ├── sql │ │ ├── __init__.py │ │ └── base.py │ └── custom_types │ │ └── __init__.py ├── engine │ ├── __init__.py │ ├── image │ │ └── __init__.py │ ├── tts │ │ ├── __init__.py │ │ └── volc │ │ │ └── __init__.py │ └── markdown │ │ └── __init__.py ├── enums │ ├── __init__.py │ ├── mcp.py │ ├── section.py │ ├── engine.py │ ├── file.py │ ├── document.py │ └── model.py ├── file │ └── __init__.py ├── prompts │ └── __init__.py ├── proxy │ └── __init__.py ├── embedding │ ├── __init__.py │ └── qwen.py ├── notification │ ├── __init__.py │ ├── tool │ │ └── __init__.py │ ├── source │ │ ├── __init__.py │ │ ├── dingtalk_notification_source.py │ │ ├── feishu_notification_source.py │ │ ├── telegram_notification_source.py │ │ ├── email_notification_source.py │ │ ├── apple_notification_source.py │ │ └── apple_sandbox_notification_source.py │ ├── target │ │ ├── __init__.py │ │ ├── email_notification_target.py │ │ ├── telegram_notification_target.py │ │ ├── apple_notification_target.py │ │ ├── apple_sandbox_notification_target.py │ │ ├── feishu_notification_target.py │ │ └── dingtalk_notification_target.py │ ├── template │ │ └── __init__.py │ └── trigger_event │ │ ├── __init__.py │ │ ├── removed_from_section.py │ │ ├── section_commented.py │ │ ├── section_subscribed.py │ │ └── section_updated.py ├── official │ ├── __init__.py │ ├── data │ │ ├── __init__.py │ │ └── sql │ │ │ └── __init__.py │ ├── engine │ │ └── __init__.py │ └── hooks │ │ └── __init__.py ├── .dockerignore ├── schemas │ ├── __init__.py │ ├── error.py │ └── section.py ├── crud │ ├── __init__.py │ └── user.py ├── models │ └── __init__.py └── protocol │ ├── tts_engine.py │ ├── notification_trigger.py │ ├── notification_source.py │ ├── notification_target.py │ └── notification_template.py ├── images └── logo.png ├── hot-news ├── public │ ├── favicon.png │ └── ico │ │ ├── error.png │ │ └── favicon.png ├── src │ ├── robots.txt.ts │ ├── utils │ │ └── getNum.ts │ └── index.ts ├── tsconfig.json ├── .gitignore └── .dockerignore └── .gitignore /api/logs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/engine/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/enums/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/file/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/prompts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/proxy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/router/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /oidc/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /oidc/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /oidc/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/public/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/common/sms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/data/milvus/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/data/milvus/query.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/data/neo4j/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/data/neo4j/create.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/data/sql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/engine/image/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/engine/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/notification/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/official/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/protocol/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/logs/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/alembic/versions/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/common/celery/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/common/tp_auth/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/data/custom_types/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/engine/markdown/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/engine/tts/volc/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/notification/tool/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/official/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/official/data/sql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/official/engine/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/official/hooks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/config/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/engine/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/enums/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/file/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/prompts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/proxy/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | __pycache__ -------------------------------------------------------------------------------- /api/common/apscheduler/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/common/system_email/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/notification/source/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/notification/target/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /api/notification/template/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/common/sms/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/data/milvus/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/data/neo4j/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/data/sql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/embedding/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/engine/image/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/engine/tts/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/notification/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/official/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /oidc/.gitignore: -------------------------------------------------------------------------------- 1 | alembic/versions/*.py -------------------------------------------------------------------------------- /api/notification/trigger_event/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/common/celery/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/data/custom_types/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/engine/markdown/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/engine/tts/volc/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/notification/tool/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/official/data/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/official/data/sql/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/official/engine/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/official/hooks/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/.dockerignore: -------------------------------------------------------------------------------- 1 | .git 2 | __pycache__ -------------------------------------------------------------------------------- /celery-worker/common/system_email/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/notification/source/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/notification/target/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/notification/template/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /celery-worker/notification/trigger_event/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .next 3 | .velite -------------------------------------------------------------------------------- /api/alembic/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /oidc/alembic/README: -------------------------------------------------------------------------------- 1 | Generic single-database configuration. -------------------------------------------------------------------------------- /web/src/generated/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 7.17.0 2 | -------------------------------------------------------------------------------- /oidc/crud/__init__.py: -------------------------------------------------------------------------------- 1 | from . import oauth 2 | from . import user -------------------------------------------------------------------------------- /web/src/generated-pay/.openapi-generator/VERSION: -------------------------------------------------------------------------------- 1 | 7.17.0 2 | -------------------------------------------------------------------------------- /oidc/models/__init__.py: -------------------------------------------------------------------------------- 1 | from . import oauth 2 | from . import user -------------------------------------------------------------------------------- /oidc/schemas/__init__.py: -------------------------------------------------------------------------------- 1 | from . import oauth 2 | from . import common -------------------------------------------------------------------------------- /web/src/config/github.ts: -------------------------------------------------------------------------------- 1 | export const GITHUB_CLIENT_ID = 'Iv23liJSg8YL7I1GVbJ8' -------------------------------------------------------------------------------- /images/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/images/logo.png -------------------------------------------------------------------------------- /web/src/enums/mcp.ts: -------------------------------------------------------------------------------- 1 | export enum MCPCategory { 2 | STD = 0, 3 | HTTP = 1 4 | } -------------------------------------------------------------------------------- /oidc/config/base.py: -------------------------------------------------------------------------------- 1 | from pathlib import Path 2 | 3 | BASE_DIR = Path(__file__).resolve().parent.parent -------------------------------------------------------------------------------- /web/src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/web/src/app/favicon.ico -------------------------------------------------------------------------------- /web/src/static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/web/src/static/logo.png -------------------------------------------------------------------------------- /web/src/static/website.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/web/src/static/website.png -------------------------------------------------------------------------------- /api/enums/mcp.py: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | 3 | class MCPCategory(IntEnum): 4 | STD = 0 5 | HTTP = 1 -------------------------------------------------------------------------------- /hot-news/public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/hot-news/public/favicon.png -------------------------------------------------------------------------------- /hot-news/public/ico/error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/hot-news/public/ico/error.png -------------------------------------------------------------------------------- /web/public/images/cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/web/public/images/cover.jpg -------------------------------------------------------------------------------- /web/src/static/hot-search.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/web/src/static/hot-search.png -------------------------------------------------------------------------------- /web/src/static/logo.dark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/web/src/static/logo.dark.png -------------------------------------------------------------------------------- /web/src/static/responsive.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/web/src/static/responsive.png -------------------------------------------------------------------------------- /hot-news/public/ico/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/hot-news/public/ico/favicon.png -------------------------------------------------------------------------------- /web/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .pnpm 3 | .next 4 | .DS_Store 5 | npm-debug.log 6 | yarn-error.log 7 | .env 8 | -------------------------------------------------------------------------------- /api/config/redis.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | REDIS_URL = os.environ.get('REDIS_URL') 4 | REDIS_PORT = os.environ.get('REDIS_PORT') -------------------------------------------------------------------------------- /celery-worker/enums/mcp.py: -------------------------------------------------------------------------------- 1 | from enum import IntEnum 2 | 3 | class MCPCategory(IntEnum): 4 | STD = 0 5 | HTTP = 1 -------------------------------------------------------------------------------- /celery-worker/config/mail.py: -------------------------------------------------------------------------------- 1 | import os 2 | sender = os.environ.get('MAIL_SENDER') 3 | password = os.environ.get('MAIL_PASSWORD') -------------------------------------------------------------------------------- /celery-worker/config/redis.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | REDIS_URL = os.environ.get('REDIS_URL') 4 | REDIS_PORT = os.environ.get('REDIS_PORT') -------------------------------------------------------------------------------- /celery-worker/schemas/__init__.py: -------------------------------------------------------------------------------- 1 | from . import engine 2 | from . import notification 3 | from . import task 4 | from . import error -------------------------------------------------------------------------------- /web/src/config/google.ts: -------------------------------------------------------------------------------- 1 | export const GOOGLE_CLIENT_ID = '417378210659-r3l1uobmi4f5vvfheip1rkh7njhhekrc.apps.googleusercontent.com' -------------------------------------------------------------------------------- /oidc/keys/public.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PUBLIC KEY----- 2 | MCowBQYDK2VwAyEADPCLylVHNWTwPsSfSnPv/zPoP4meWcZKuOLXFVS4ddo= 3 | -----END PUBLIC KEY----- 4 | -------------------------------------------------------------------------------- /oidc/keys/private.pem: -------------------------------------------------------------------------------- 1 | -----BEGIN PRIVATE KEY----- 2 | MC4CAQAwBQYDK2VwBCIEIPWidrvzTsAvHDNILRU5p9tJTm3q7UW2RdWivfAWt+Ae 3 | -----END PRIVATE KEY----- 4 | -------------------------------------------------------------------------------- /web/public/images/wechatCustomerServiceCode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Qingyon-AI/Revornix/HEAD/web/public/images/wechatCustomerServiceCode.jpg -------------------------------------------------------------------------------- /api/config/milvus.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | MILVUS_CLUSTER_ENDPOINT = os.environ.get('MILVUS_CLUSTER_ENDPOINT') 4 | MILVUS_TOKEN = os.environ.get('MILVUS_TOKEN') -------------------------------------------------------------------------------- /api/config/oauth2.py: -------------------------------------------------------------------------------- 1 | import os 2 | # to get a string like this run: 3 | # openssl rand -hex 32 4 | OAUTH_SECRET_KEY = os.environ.get("OAUTH_SECRET_KEY") 5 | -------------------------------------------------------------------------------- /web/src/api/celery.ts: -------------------------------------------------------------------------------- 1 | import { API_PREFIX } from "@/config/api" 2 | 3 | export default { 4 | getCeleryTaskStatus: API_PREFIX + '/celery/task/status', 5 | } -------------------------------------------------------------------------------- /celery-worker/config/milvus.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | MILVUS_CLUSTER_ENDPOINT = os.environ.get('MILVUS_CLUSTER_ENDPOINT') 4 | MILVUS_TOKEN = os.environ.get('MILVUS_TOKEN') -------------------------------------------------------------------------------- /celery-worker/config/oauth2.py: -------------------------------------------------------------------------------- 1 | import os 2 | # to get a string like this run: 3 | # openssl rand -hex 32 4 | OAUTH_SECRET_KEY = os.environ.get("OAUTH_SECRET_KEY") 5 | -------------------------------------------------------------------------------- /web/src/api/order.ts: -------------------------------------------------------------------------------- 1 | import { UNION_PAY_API_PREFIX } from "@/config/api" 2 | 3 | export default { 4 | getOrderStatus: UNION_PAY_API_PREFIX + '/order/status', 5 | } -------------------------------------------------------------------------------- /api/config/neo4j.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | NEO4J_USER = os.environ.get('NEO4J_USER') 4 | NEO4J_PASS = os.environ.get('NEO4J_PASS') 5 | NEO4J_URI = os.environ.get('NEO4J_URI') -------------------------------------------------------------------------------- /api/schemas/celery.py: -------------------------------------------------------------------------------- 1 | from pydantic import BaseModel 2 | 3 | class TaskStatus(BaseModel): 4 | status: str 5 | result: str | None = None 6 | error: str | None = None -------------------------------------------------------------------------------- /web/src/generated/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | export * from './runtime'; 4 | export * from './apis/index'; 5 | export * from './models/index'; 6 | -------------------------------------------------------------------------------- /celery-worker/config/neo4j.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | NEO4J_USER = os.environ.get('NEO4J_USER') 4 | NEO4J_PASS = os.environ.get('NEO4J_PASS') 5 | NEO4J_URI = os.environ.get('NEO4J_URI') -------------------------------------------------------------------------------- /web/src/generated-pay/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | export * from './runtime'; 4 | export * from './apis/index'; 5 | export * from './models/index'; 6 | -------------------------------------------------------------------------------- /web/postcss.config.mjs: -------------------------------------------------------------------------------- 1 | /** @type {import('postcss-load-config').Config} */ 2 | const config = { 3 | plugins: { 4 | '@tailwindcss/postcss': {}, 5 | }, 6 | }; 7 | 8 | export default config; 9 | -------------------------------------------------------------------------------- /celery-worker/crud/__init__.py: -------------------------------------------------------------------------------- 1 | from . import document 2 | from . import section 3 | from . import user 4 | from . import task 5 | from . import model 6 | from . import engine 7 | from . import file_system 8 | from . import notification -------------------------------------------------------------------------------- /celery-worker/models/__init__.py: -------------------------------------------------------------------------------- 1 | from . import document 2 | from . import section 3 | from . import user 4 | from . import task 5 | from . import model 6 | from . import engine 7 | from . import file_system 8 | from . import notification -------------------------------------------------------------------------------- /celery-worker/config/base.py: -------------------------------------------------------------------------------- 1 | import os 2 | from pathlib import Path 3 | 4 | base_url = os.environ.get('base_url') 5 | 6 | # Build paths inside the project like this: BASE_DIR / 'subdir'. 7 | BASE_DIR = Path(__file__).resolve().parent.parent -------------------------------------------------------------------------------- /api/config/sql.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | POSTGRES_USER = os.environ.get('POSTGRES_USER') 4 | POSTGRES_PASSWORD = os.environ.get('POSTGRES_PASSWORD') 5 | POSTGRES_DB_URL = os.environ.get('POSTGRES_DB_URL') 6 | POSTGRES_DB = os.environ.get('POSTGRES_DB') -------------------------------------------------------------------------------- /web/src/provider/dashboard-provider.tsx: -------------------------------------------------------------------------------- 1 | 'use client'; 2 | 3 | import { DashboardStore } from '@/store/dashboard'; 4 | import { createContext } from 'react'; 5 | 6 | export const DashboardContext = createContext(null); 7 | -------------------------------------------------------------------------------- /web/src/schemas/pagination.ts: -------------------------------------------------------------------------------- 1 | export interface PaginationData { 2 | total_elements: number; 3 | current_page_elements: number; 4 | total_pages: number; 5 | page_num: number; 6 | page_size: number; 7 | elements: T[]; 8 | }; -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | __pycache__/ 3 | *.py[cod] 4 | *.pyo 5 | *.pyd 6 | *.db 7 | *.sqlite 8 | *.egg-info/ 9 | *.egg 10 | *.log 11 | volumes/* 12 | .env 13 | .env.* 14 | !.env.example 15 | !.env.*.example 16 | 127.0.0.1 17 | neo4j/plugins/* -------------------------------------------------------------------------------- /api/config/file_system.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | FILE_SYSTEM_USER_NAME = os.environ.get('FILE_SYSTEM_USER_NAME') 4 | FILE_SYSTEM_PASSWORD = os.environ.get('FILE_SYSTEM_PASSWORD') 5 | FILE_SYSTEM_SERVER_PUBLIC_URL = os.environ.get('FILE_SYSTEM_SERVER_PUBLIC_URL') -------------------------------------------------------------------------------- /celery-worker/config/sql.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | POSTGRES_USER = os.environ.get('POSTGRES_USER') 4 | POSTGRES_PASSWORD = os.environ.get('POSTGRES_PASSWORD') 5 | POSTGRES_DB_URL = os.environ.get('POSTGRES_DB_URL') 6 | POSTGRES_DB = os.environ.get('POSTGRES_DB') -------------------------------------------------------------------------------- /web/src/api/api_key.ts: -------------------------------------------------------------------------------- 1 | import { API_PREFIX } from "@/config/api" 2 | 3 | export default { 4 | createApiKey: API_PREFIX + '/api-key/create', 5 | deleteApiKey: API_PREFIX + '/api-key/delete', 6 | searchApiKey: API_PREFIX + '/api-key/search' 7 | } -------------------------------------------------------------------------------- /web/src/api/graph.ts: -------------------------------------------------------------------------------- 1 | import { API_PREFIX } from "@/config/api" 2 | 3 | export default { 4 | searchGraph: API_PREFIX + '/graph/search', 5 | searchDocumentGraph: API_PREFIX + '/graph/document', 6 | searchSectionGraph: API_PREFIX + '/graph/section' 7 | } -------------------------------------------------------------------------------- /celery-worker/config/file_system.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | FILE_SYSTEM_USER_NAME = os.environ.get('FILE_SYSTEM_USER_NAME') 4 | FILE_SYSTEM_PASSWORD = os.environ.get('FILE_SYSTEM_PASSWORD') 5 | FILE_SYSTEM_SERVER_PUBLIC_URL = os.environ.get('FILE_SYSTEM_SERVER_PUBLIC_URL') -------------------------------------------------------------------------------- /api/protocol/tts_engine.py: -------------------------------------------------------------------------------- 1 | from protocol.engine import EngineProtocol 2 | 3 | class TTSEngineProtocol(EngineProtocol): 4 | 5 | async def synthesize( 6 | self, 7 | text: str 8 | ): 9 | raise NotImplementedError("Method not implemented") -------------------------------------------------------------------------------- /oidc/config/oauth2.py: -------------------------------------------------------------------------------- 1 | from pathlib import Path 2 | from config.base import BASE_DIR 3 | 4 | ISSUER: str = "http://localhost:8002" # 你的 OP 根地址(外部可访问) 5 | JWK_PUBLIC_PATH: Path = BASE_DIR / 'keys' / 'public.pem' 6 | JWK_PRIVATE_PATH: Path = BASE_DIR / 'keys' / 'private.pem' -------------------------------------------------------------------------------- /web/src/enums/engine.ts: -------------------------------------------------------------------------------- 1 | export enum EngineUUID { 2 | MinerU = 'c59151aa86784d9ab52f74c12c830b1f', 3 | MinerU_API = 'd90eabd6ce9e42da98ba6168cb189b70', 4 | MarkitDown = '9188ddca93ff4c2bb97fa252723c6c13', 5 | Jina = 'e31849ffa7f84a2cb4e2fa2ea00f25d2', 6 | } 7 | -------------------------------------------------------------------------------- /web/src/i18n/config.ts: -------------------------------------------------------------------------------- 1 | export const locales = [ 2 | { 3 | name: 'English', 4 | code: 'en' 5 | }, 6 | { 7 | name: '简体中文', 8 | code: 'zh' 9 | } 10 | ] 11 | 12 | export const defaultLocale = { 13 | name: 'English', 14 | code: 'en' 15 | } 16 | -------------------------------------------------------------------------------- /celery-worker/protocol/tts_engine.py: -------------------------------------------------------------------------------- 1 | from protocol.engine import EngineProtocol 2 | 3 | class TTSEngineProtocol(EngineProtocol): 4 | 5 | async def synthesize( 6 | self, 7 | text: str 8 | ): 9 | raise NotImplementedError("Method not implemented") -------------------------------------------------------------------------------- /web/src/enums/product.ts: -------------------------------------------------------------------------------- 1 | export enum PayWay { 2 | WECHAT = 0, 3 | ALIPAY = 1 4 | } 5 | 6 | export enum Plan { 7 | FREE = '213408a40f5f4cfdaeca8d4c28ccd822', 8 | PRO = 'a00a68fbfdbc4159a67610858b43e2e8', 9 | MAX = 'c5d27327384543a8b952d3f52a2120f0' 10 | } -------------------------------------------------------------------------------- /web/src/components/notification/notification-record-card-skeleton.tsx: -------------------------------------------------------------------------------- 1 | import { Skeleton } from '../ui/skeleton'; 2 | 3 | const NotificationRecordCardSkeleton = () => { 4 | return ; 5 | }; 6 | 7 | export default NotificationRecordCardSkeleton; 8 | -------------------------------------------------------------------------------- /web/src/enums/file.ts: -------------------------------------------------------------------------------- 1 | export enum RemoteFileServiceUUID { 2 | AliyunOSS = '41be24fa741f4716b8dc0ccef3980655', 3 | AWS_S3 = '01eef562970243af8ba12f6f4ddad3b1', 4 | Built_In = '3ea378364a2d4a65be25085a47835d80', 5 | Generic_S3 = '3e9993b6722244969db2c27670cefdac', 6 | } 7 | -------------------------------------------------------------------------------- /web/src/protocol/file-service.ts: -------------------------------------------------------------------------------- 1 | interface FileServiceProtocol { 2 | initFileSystemConfig(): Promise; 3 | getFileContent(file_path: string): Promise; 4 | uploadFile(file_path: string, file: File, content_type?: string): Promise; 5 | } -------------------------------------------------------------------------------- /web/next-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | import "./.next/dev/types/routes.d.ts"; 4 | 5 | // NOTE: This file should not be edited 6 | // see https://nextjs.org/docs/app/api-reference/config/typescript for more information. 7 | -------------------------------------------------------------------------------- /web/src/generated-pay/apis/index.ts: -------------------------------------------------------------------------------- 1 | /* tslint:disable */ 2 | /* eslint-disable */ 3 | export * from './BonusControllerApi'; 4 | export * from './CommonControllerApi'; 5 | export * from './OrderControllerApi'; 6 | export * from './ProductControllerApi'; 7 | export * from './UserControllerApi'; 8 | -------------------------------------------------------------------------------- /api/crud/__init__.py: -------------------------------------------------------------------------------- 1 | from . import user 2 | from . import api_key 3 | from . import document 4 | from . import section 5 | from . import notification 6 | from . import task 7 | from . import model 8 | from . import mcp 9 | from . import engine 10 | from . import file_system 11 | from . import rss -------------------------------------------------------------------------------- /api/models/__init__.py: -------------------------------------------------------------------------------- 1 | from . import user 2 | from . import api_key 3 | from . import document 4 | from . import section 5 | from . import notification 6 | from . import task 7 | from . import model 8 | from . import mcp 9 | from . import engine 10 | from . import file_system 11 | from . import rss -------------------------------------------------------------------------------- /web/src/app/(seo)/layout.tsx: -------------------------------------------------------------------------------- 1 | import Nav from '@/components/seo/nav'; 2 | 3 | const Layout = ({ children }: { children: React.ReactNode }) => { 4 | return ( 5 | <> 6 |