Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Code Owners for OmniContent
# Code Owners for openGecko
# These owners will be automatically requested for review when someone opens a PR

# Global owners (all files)
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
blank_issues_enabled: true
contact_links:
- name: 📚 Documentation
url: https://github.com/ZhengZhenyu/omnicontent/tree/main/docs
url: https://github.com/opensourceways/openGecko/tree/main/docs
about: Browse our comprehensive documentation
- name: 💬 Discussions
url: https://github.com/ZhengZhenyu/omnicontent/discussions
url: https://github.com/opensourceways/openGecko/discussions
about: Ask questions and discuss ideas with the community
- name: 🔒 Security Vulnerability
url: https://github.com/ZhengZhenyu/omnicontent/security/advisories/new
url: https://github.com/opensourceways/openGecko/security/advisories/new
about: Report a security vulnerability (private and confidential)
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/question.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ body:
value: |
👋 Have a question? We're here to help!

**Note**: For general discussions, please use [GitHub Discussions](https://github.com/ZhengZhenyu/omnicontent/discussions).
**Note**: For general discussions, please use [GitHub Discussions](https://github.com/opensourceways/openGecko/discussions).

- type: dropdown
id: category
Expand Down
8 changes: 4 additions & 4 deletions .github/WORKFLOWS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# GitHub Configuration

This directory contains GitHub-specific configuration files for the OmniContent project.
This directory contains GitHub-specific configuration files for the openGecko project.

## 📁 Contents

Expand Down Expand Up @@ -213,9 +213,9 @@ git commit -m "docs: update README [skip ci]"
Add to main README.md:

```markdown
![Backend CI](https://github.com/ZhengZhenyu/omnicontent/workflows/Backend%20CI/badge.svg)
![Frontend CI](https://github.com/ZhengZhenyu/omnicontent/workflows/Frontend%20CI/badge.svg)
![PR Checks](https://github.com/ZhengZhenyu/omnicontent/workflows/PR%20Checks/badge.svg)
![Backend CI](https://github.com/opensourceways/openGecko/workflows/Backend%20CI/badge.svg)
![Frontend CI](https://github.com/opensourceways/openGecko/workflows/Frontend%20CI/badge.svg)
![PR Checks](https://github.com/opensourceways/openGecko/workflows/PR%20Checks/badge.svg)
```

## 🔐 Secrets and Variables
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/backend-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
working-directory: ./backend
run: |
# Set absolute path for database to ensure consistency
DB_PATH="$(pwd)/test_omnicontent.db"
DB_PATH="$(pwd)/test_opengecko.db"
export DATABASE_URL="sqlite:///${DB_PATH}"

# Remove old database if exists
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pre-commit hooks configuration for OmniContent
# Pre-commit hooks configuration for openGecko
# Install: pip install pre-commit && pre-commit install
# Run manually: pre-commit run --all-files
# Update hooks: pre-commit autoupdate
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ setup-frontend:

# ── Development server (starts both backend & frontend) ───────────────
dev:
@echo "🚀 Starting OmniContent..."
@echo "🚀 Starting openGecko..."
@echo " Backend: http://localhost:8000 (API docs: http://localhost:8000/docs)"
@echo " Frontend: http://localhost:3000"
@echo " Press Ctrl+C to stop both services"
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# OmniContent
# openGecko

<div align="center">

<img src="logo.svg" alt="OmniContent Logo" width="120" height="120" />
<img src="openGecko.jpg" alt="openGecko Logo" width="120" height="120" />

**全域内容管理平台 - Manage All, Publish Everywhere**

Expand All @@ -17,7 +17,7 @@

## ✨ 项目简介

OmniContent 是为管理 10+ 开源社区打造的企业级多租户内容管理平台,支持统一管理多个社区的内容策划、创作、编排和多渠道发布。
openGecko 是为管理 10+ 开源社区打造的企业级多租户内容管理平台,支持统一管理多个社区的内容策划、创作、编排和多渠道发布。

### 核心特性

Expand Down Expand Up @@ -106,7 +106,7 @@ make setup

```env
# 数据库(默认 SQLite,生产可改为 PostgreSQL)
DATABASE_URL=sqlite:///./omnicontent.db
DATABASE_URL=sqlite:///./opengecko.db

# JWT 密钥(⚠️ 生产环境务必修改为强随机字符串)
JWT_SECRET_KEY=your-secret-key-change-in-production
Expand Down Expand Up @@ -212,7 +212,7 @@ docker compose up -d

<div align="center">

**OmniContent** - Manage All, Publish Everywhere 🚀
**openGecko** - Manage All, Publish Everywhere 🚀

Made with ❤️ for Open Source Communities

Expand Down
2 changes: 1 addition & 1 deletion backend/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Database
DATABASE_URL=sqlite:///./omnicontent.db
DATABASE_URL=sqlite:///./opengecko.db

# Database Connection Pool (for PostgreSQL/MySQL)
# DB_POOL_SIZE=5
Expand Down
2 changes: 1 addition & 1 deletion backend/TESTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 测试指南

本文档说明 OmniContent 后端的测试策略和运行方法。
本文档说明 openGecko 后端的测试策略和运行方法。

## 测试结构

Expand Down
2 changes: 1 addition & 1 deletion backend/alembic.ini
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ version_path_separator = os
# are written from script.py.mako
# output_encoding = utf-8

sqlalchemy.url = sqlite:///./omnicontent.db
sqlalchemy.url = sqlite:///./opengecko.db


[post_write_hooks]
Expand Down
4 changes: 2 additions & 2 deletions backend/app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@


class Settings(BaseSettings):
APP_NAME: str = "OmniContent"
APP_NAME: str = "openGecko"
DEBUG: bool = False

# Database
DATABASE_URL: str = "sqlite:///./omnicontent.db"
DATABASE_URL: str = "sqlite:///./opengecko.db"

# Database Connection Pool (for PostgreSQL/MySQL)
DB_POOL_SIZE: int = 5
Expand Down
2 changes: 1 addition & 1 deletion backend/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[pytest]
# Pytest configuration for OmniContent backend tests
# Pytest configuration for openGecko backend tests

# Test discovery patterns
python_files = test_*.py
Expand Down
18 changes: 9 additions & 9 deletions docs/CONFIGURATION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 配置指南

本文档详细说明 OmniContent 的配置选项。
本文档详细说明 openGecko 的配置选项。

## 环境变量配置

Expand All @@ -15,11 +15,11 @@ cp backend/.env.example backend/.env

```env
# 应用配置
APP_NAME=OmniContent
APP_NAME=openGecko
DEBUG=False

# 数据库配置
DATABASE_URL=sqlite:///./omnicontent.db
DATABASE_URL=sqlite:///./opengecko.db

# JWT 认证配置
JWT_SECRET_KEY=your-super-secret-key-change-me-in-production
Expand All @@ -35,13 +35,13 @@ CORS_ORIGINS=["http://localhost:3000"]
#### 开发环境 (SQLite)

```env
DATABASE_URL=sqlite:///./omnicontent.db
DATABASE_URL=sqlite:///./opengecko.db
```

#### 生产环境 (PostgreSQL)

```env
DATABASE_URL=postgresql://user:password@localhost:5432/omnicontent
DATABASE_URL=postgresql://user:password@localhost:5432/opengecko
```

### 微信公众号配置
Expand Down Expand Up @@ -165,7 +165,7 @@ CORS_ORIGINS=["https://your-domain.com"]

```env
LOG_LEVEL=INFO
LOG_FILE=logs/omnicontent.log
LOG_FILE=logs/opengecko.log
```

日志级别: `DEBUG`, `INFO`, `WARNING`, `ERROR`, `CRITICAL`
Expand All @@ -191,7 +191,7 @@ ALLOWED_EXTENSIONS=["jpg", "jpeg", "png", "gif", "docx", "md"]
services:
backend:
environment:
- DATABASE_URL=postgresql://postgres:password@db:5432/omnicontent
- DATABASE_URL=postgresql://postgres:password@db:5432/opengecko
- JWT_SECRET_KEY=${JWT_SECRET_KEY}
ports:
- "8000:8000"
Expand All @@ -203,7 +203,7 @@ services:
image: postgres:15
environment:
- POSTGRES_PASSWORD=password
- POSTGRES_DB=omnicontent
- POSTGRES_DB=opengecko
volumes:
- postgres_data:/var/lib/postgresql/data
```
Expand Down Expand Up @@ -270,7 +270,7 @@ BACKUP_DIR=/path/to/backups
DATE=$(date +%Y%m%d_%H%M%S)

# 备份数据库
cp backend/omnicontent.db $BACKUP_DIR/omnicontent_$DATE.db
cp backend/opengecko.db $BACKUP_DIR/opengecko_$DATE.db

# 备份上传文件
tar -czf $BACKUP_DIR/uploads_$DATE.tar.gz backend/uploads/
Expand Down
10 changes: 5 additions & 5 deletions docs/CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Contributing to OmniContent
# Contributing to openGecko

Thank you for considering contributing to OmniContent! This document provides guidelines and instructions for contributing.
Thank you for considering contributing to openGecko! This document provides guidelines and instructions for contributing.

## Table of Contents

Expand Down Expand Up @@ -29,8 +29,8 @@ This project follows a professional and respectful code of conduct. Please be ki

```bash
# Clone the repository
git clone https://github.com/ZhengZhenyu/omnicontent.git
cd omnicontent
git clone https://github.com/opensourceways/openGecko.git
cd openGecko

# One-command setup (recommended)
make setup
Expand Down Expand Up @@ -382,4 +382,4 @@ By contributing, you agree that your contributions will be licensed under the sa

---

Thank you for contributing to OmniContent! 🚀
Thank you for contributing to openGecko! 🚀
6 changes: 3 additions & 3 deletions docs/DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 开发指南

本文档提供 OmniContent 的开发环境设置、工作流程和最佳实践。
本文档提供 openGecko 的开发环境设置、工作流程和最佳实践。

## 环境要求

Expand Down Expand Up @@ -37,8 +37,8 @@ sudo dnf install python3 nodejs git
### 1. 克隆仓库

```bash
git clone https://github.com/your-org/omnicontent.git
cd omnicontent
git clone https://github.com/opensourceways/openGecko.git
cd openGecko
```

### 2. 一键安装 (推荐)
Expand Down
4 changes: 2 additions & 2 deletions docs/GIT_WORKFLOW.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OmniContent Git 工作流规范
# openGecko Git 工作流规范

本文档定义了 OmniContent 项目的 Git 分支管理策略、提交规范和协作流程,适用于 4 人并行开发的场景。
本文档定义了 openGecko 项目的 Git 分支管理策略、提交规范和协作流程,适用于 4 人并行开发的场景。

---

Expand Down
2 changes: 1 addition & 1 deletion docs/OWNERSHIP.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# OmniContent 文件权责划分表
# openGecko 文件权责划分表

> 本文档定义了项目中每个文件/目录的主要负责人和协作者。
>
Expand Down
4 changes: 2 additions & 2 deletions docs/PRE_COMMIT_SETUP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Pre-commit Hooks 设置指南

本文档说明如何为 OmniContent 项目配置 pre-commit hooks,确保代码质量和规范。
本文档说明如何为 openGecko 项目配置 pre-commit hooks,确保代码质量和规范。

---

Expand Down Expand Up @@ -36,7 +36,7 @@ pre-commit --version

```bash
# 克隆仓库后首次设置
cd /path/to/omnicontent
cd /path/to/openGecko
pre-commit install

# 安装 commit-msg hook(检查提交信息格式)
Expand Down
4 changes: 2 additions & 2 deletions docs/PROJECT_STRUCTURE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# 项目结构说明

本文档描述 OmniContent 项目的目录结构和组织方式。
本文档描述 openGecko 项目的目录结构和组织方式。

## 根目录结构

```
omnicontent/
openGecko/
├── .github/ # GitHub 配置(Actions、PR模板等)
├── backend/ # Python FastAPI 后端
├── frontend/ # Vue 3 前端
Expand Down
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# OmniContent - 项目设计文档
# openGecko - 项目设计文档

<div align="center">
<img src="../logo.svg" alt="OmniContent Logo" width="100" height="100" />
<img src="../openGecko.jpg" alt="openGecko Logo" width="100" height="100" />
</div>

本目录包含 OmniContent 企业级全域内容管理平台的完整设计文档。
本目录包含 openGecko 企业级全域内容管理平台的完整设计文档。

**品牌定位**: 全域内容管理平台 (Manage All, Publish Everywhere)

Expand Down
6 changes: 3 additions & 3 deletions docs/TEAM_DIVISION.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# OmniContent 4人团队开发分工方案(完整版)
# openGecko 4人团队开发分工方案(完整版)

> **项目**: OmniContent - 企业级多社区内容管理与治理平台
> **项目**: openGecko - 企业级多社区内容管理与治理平台
> **团队规模**: 4名全栈开发工程师
> **开发模式**: 并行开发,使用Claude Code辅助
> **版本**: v2.0 (包含理事会治理模块)
Expand All @@ -10,7 +10,7 @@
## 一、项目功能全景图

```
OmniContent 平台
openGecko 平台
├── 🔐 用户认证与权限模块
│ ├── JWT认证
│ ├── 密码管理
Expand Down
Loading
Loading