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
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
contact_links:
- name: Support Request
url: https://github.com/iflytek/community/discussions
about: Support request or question relating to the Iflytek Opensource Community
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/general-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: General Issue
description: Open a general issue in the iflytek/community repo
body:
- id: problem
type: textarea
attributes:
label: Describe the issue
placeholder: A clear and concise description of what you need assistance with.
validations:
required: true
57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/leadership-change.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Leadership Change
description: Onboarding / Offboarding checklist for group leads
title: "<Group FOO>: Leadership Change"
body:
- id: group
type: input
attributes:
label: "Group name:"
placeholder: "e.g. SIG foo"
- id: leader_onboarding
type: input
attributes:
label: "Onboarding Lead(s):"
placeholder: GitHub handle(s) of the new leads
- id: leader_offboarding
type: input
attributes:
label: "Offboarding Lead(s):"
placeholder: GitHub handle(s) of the previous leads
- type: markdown
attributes:
value: |
**Process to initiate leadership change**

An email should be sent to the group mailing list with the following:
- Intent to step down / nominate a new lead
- If nominating a new lead:
- 1-2 lines about why they are being nominated, and links to any potential meeting notes where the change was discussed.
- Contacts to privately reach out to for questions (current leads) or concerns.
- Lazy consensus deadline of at least one week.
- id: discussion_link
type: input
attributes:
label: "Link to discussion:"
- id: new_lead_prereqs
type: checkboxes
attributes:
label: "Prerequisites for new leads:"
options:
- label: Are an org member
- label: Have read and agree to abide by the [Code of Conduct](https://github.com/iflytek/community/blob/main/code-of-conduct.md)
- id: req_checklist
type: checkboxes
attributes:
label: "Onboarding / Offboarding tasks:"
options:
- label: Updated [OWNERS](https://github.com/iflytek/community/blob/main/OWNERS) file. **NOTE:** If offboarding, remember to remove from approvers.
- label: Updated [MAINTAINERS.md](https://github.com/iflytek/community/blob/main/MAINTAINERS.md).
- label: Updated access/teams in project infrastructure.
- label: Updated ownership of group mailing list.
- label: Updated ownership of group calendar.
- label: Added to relevant communication channels.
- id: additional_info
type: textarea
attributes:
label: "Additional information:"
placeholder: "Other links to leadership discussions etc."
65 changes: 65 additions & 0 deletions .github/ISSUE_TEMPLATE/moderator_application.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Community Moderator Request
description: Request moderator privileges on a community property
title: 'REQUEST: New moderator for <your-GH-handle> of <community property>'
labels: area/community-management
body:
- id: github
type: input
attributes:
label: GitHub Username
placeholder: e.g. @example_user
validations:
required: true
- type: input
attributes:
label: Property you'd like to Moderate
placeholder: e.g. Discord, forum, etc.
validations:
required: true
- type: input
attributes:
label: Username on Property Requested
placeholder: e.g. @property_user
validations:
required: true
- id: requirements
type: checkboxes
attributes:
label: Requirements
options:
- label: I am an org member already
required: true
- label: I have [enabled 2FA on my GitHub account](https://github.com/settings/security)
required: true
- label: I have read and will abide by the policies mentioned in the [Moderation Guidelines](https://github.com/iflytek/community/blob/main/code-of-conduct.md)
required: true
- label: I have two sponsors that meet the sponsor requirements
required: true
- label: I have spoken to my sponsors ahead of this application, and they have agreed to sponsor my application
required: true
- id: sponsor_1
type: input
attributes:
label: "Sponsor 1"
description: GitHub handle of your sponsor
placeholder: e.g. @sponsor-1
validations:
required: true
- id: sponsor_2
type: input
attributes:
label: "Sponsor 2"
description: GitHub handle of your sponsor
placeholder: e.g. @sponsor-2
validations:
required: true
- id: qualifications
type: textarea
attributes:
label: List of qualifications for this position
placeholder: |
- Prior moderation experience
- Links to public discussions showing your moderation experience (if available)
- Any other qualifications
validations:
required: true
18 changes: 18 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!-- Thanks for sending a pull request! Here are some tips for you:

- If this is your first contribution, read our Getting Started guide https://github.com/iflytek/community/blob/main/CONTRIBUTING.md

-->

**Which issue(s) this PR fixes**:
<!--
*Automatically closes linked issue when PR is merged.
Usage: `Fixes #<issue number>`, or `Fixes (paste link of issue)`.
_If PR is about `failing-tests or flakes`, please post the related issues/tests in a comment and do not use `Fixes`_*
-->
Fixes #

**Special notes for reviewers**:
<!--
Please leave this section blank if you don't have any special notes.
-->
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: npm
- run: npm ci
- run: npm run check:eslint
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: npm
- run: npm ci
- name: Fetch contributors data
Expand All @@ -52,5 +52,6 @@ jobs:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORG_ID }}
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }}
vercel-args: '--prod'
vercel-args: '--prod --yes'
target: production
working-directory: ./
6 changes: 3 additions & 3 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: npm
- run: npm ci
- name: ESLint
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: npm
- run: npm ci
- name: Build site
Expand Down Expand Up @@ -72,7 +72,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: npm
- run: npm ci
- name: Check dependency licenses
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: npm
- run: npm ci
- name: npm audit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v6
with:
node-version: 22
node-version: 24
cache: npm
- run: npm ci
- name: Update contributors data
Expand Down
3 changes: 3 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# CODE OF CONDUCT

Please visit https://github.com/iflytek/community for the latest version.
2 changes: 1 addition & 1 deletion NOTICE
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
iFLYTEK Open Source Website
Copyright 2024 iFLYTEK CO., LTD.
Copyright 2026 iFLYTEK CO., LTD.

This product includes software developed at:
- AstroWind (https://github.com/arthelokyo/astrowind), licensed under MIT License
Expand Down
62 changes: 35 additions & 27 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ The official open source website for iFLYTEK (科大讯飞), showcasing our open
website/
├── src/
│ ├── components/ # UI components
│ ├── data/ # Content (blog posts, etc.)
│ ├── i18n/ # Internationalization
│ ├── data/ # Content (blog posts, project data)
│ ├── layouts/ # Page layouts
│ ├── navigation.ts # Navigation config
│ ├── config.yaml # Site config
│ ├── pages/ # Route pages
│ └── utils/ # Utilities
├── public/ # Static assets
├── scripts/ # Build scripts
└── .github/ # CI/CD workflows
├── scripts/ # Build scripts (fetch contributors, community files)
├── vendor/ # AstroWind integration
└── .github/ # CI/CD workflows + Dependabot
```

## 🛠️ Getting Started

### Prerequisites

- Node.js >= 22.12.0
- Node.js 24.x
- npm

### Installation
Expand Down Expand Up @@ -74,34 +74,39 @@ npm run preview

## 📋 Available Scripts

| Script | Description |
| ---------------------------- | ----------------------------------- |
| `npm run dev` | Start development server |
| `npm run build` | Build for production |
| `npm run preview` | Preview production build |
| `npm run check` | Run all code quality checks |
| `npm run check:astro` | Run Astro type checking |
| `npm run check:eslint` | Run ESLint |
| `npm run check:prettier` | Run Prettier check |
| `npm run fix` | Auto-fix ESLint and Prettier issues |
| `npm run fetch:contributors` | Fetch GitHub contributor data |
| `npm run license:check` | Check dependency licenses |
| `npm run license:report` | Generate license report |
| Script | Description |
| ---------------------------- | ------------------------------------ |
| `npm run dev` | Start development server |
| `npm run build` | Build for production (with prebuild) |
| `npm run preview` | Preview production build |
| `npm run check` | Run all code quality checks |
| `npm run check:astro` | Run Astro type checking |
| `npm run check:eslint` | Run ESLint |
| `npm run check:prettier` | Run Prettier check |
| `npm run fix` | Auto-fix ESLint and Prettier issues |
| `npm run fetch:contributors` | Fetch GitHub contributor data |
| `npm run license:check` | Check dependency licenses |
| `npm run license:report` | Generate license report (Markdown) |
| `npm run license:summary` | Show license summary |

## 🌍 Pages

| Route | Description |
| ------------- | ------------------------------------- |
| `/` | Homepage |
| `/projects` | Project list with filters |
| `/landscape` | CNCF-style project landscape |
| `/blog` | Blog list (tech + news) |
| `/events` | Community events timeline |
| `/contribute` | Contribution guide + contributor wall |
| Route | Description |
| ----------------- | ------------------------------------- |
| `/` | Homepage |
| `/projects` | Project list with category filters |
| `/projects/:slug` | Individual project detail page |
| `/landscape` | CNCF-style project landscape |
| `/blog` | Blog list (tech + news) |
| `/events` | Community events timeline |
| `/contribute` | Contribution guide + contributor wall |
| `/security` | Security policy |
| `/values` | Community values |
| `/cla` | Contributor License Agreement |

## 🤝 Contributing

Please read our [Contributing Guide](https://github.com/iflytek/community/blob/main/CONTRIBUTING.md) and [Code of Conduct](https://github.com/iflytek/community/blob/main/CODE_OF_CONDUCT.md) before contributing.
Please read our [Contributing Guide](CONTRIBUTING.md) and [Code of Conduct](CODE_OF_CONDUCT.md) before contributing.

## 📄 License

Expand All @@ -113,4 +118,7 @@ Third-party licenses are listed in [NOTICE](NOTICE).

- **Website**: https://opensource.iflytek.com
- **GitHub**: https://github.com/iflytek
- **Gitee**: https://gitee.com/organizations/iflytek
- **iFLYTEK Official**: https://www.iflytek.com
- **Discord**: https://discord.com/invite/vXzgts4fK
- **LinkedIn**: https://www.linkedin.com/in/astron-ai
3 changes: 3 additions & 0 deletions code-of-conduct.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Iflytek Community Code of Conduct

Please refer to our [Iflytek Community Code of Conduct](https://github.com/iflytek/community/blob/master/code-of-conduct.md)
Loading
Loading