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
46 changes: 46 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Test
on:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 10
run_install: false

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- name: Install Dependencies
run: |
pnpm install

- name: Check Code Formatting
run: |
# Run format command to format code
pnpm run fmt
# Check if there are any changes after formatting
if ! git diff --quiet --exit-code; then
echo "❌ Code is not properly formatted! Please run 'pnpm run fmt' locally and commit the changes."
echo "Files with formatting issues:"
git diff --name-only
echo "Diff details:"
git diff
exit 1
else
echo "✅ Code formatting is correct!"
fi

- name: Build
run: |
pnpm run build
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Typix - 输入即图像

简体中文 | [English](README_en-US.md)
<p align="center">
<a href="https://github.com/monkeyWie/typix/releases"><img src="https://img.shields.io/badge/version-1.0.0-blue.svg" alt="Version"></a>
<a href="https://hub.docker.com/r/liwei2633/typix"><img src="https://img.shields.io/docker/v/liwei2633/typix?label=Docker&color=blue" alt="Docker"></a>
<a href="https://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/license-Apache%202.0-green.svg" alt="License"></a>
</p>

<p align="center">简体中文 | <a href="README_en-US.md">English</a></p>

Typix 是一款现代化、开源、易用、隐私安全的 AI 工具,专注于媒体内容生成领域,为广大 AI 创作者提供一站式的生成体验。

Expand Down
8 changes: 7 additions & 1 deletion README_en-US.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
# Typix - Type To Pixels

[简体中文](README.md) | English
<p align="center">
<a href="https://github.com/monkeyWie/typix/releases"><img src="https://img.shields.io/badge/version-1.0.0-blue.svg" alt="Version"></a>
<a href="https://hub.docker.com/r/liwei2633/typix"><img src="https://img.shields.io/docker/v/liwei2633/typix?label=Docker&color=blue" alt="Docker"></a>
<a href="https://www.apache.org/licenses/LICENSE-2.0"><img src="https://img.shields.io/badge/license-Apache%202.0-green.svg" alt="License"></a>
</p>

<p align="center"><a href="README.md">简体中文</a> | English</p>

Typix is a modern, open-source, user-friendly, and privacy-secure AI tool focused on media content generation, providing creators with a one-stop generation experience.

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"@radix-ui/react-scroll-area": "^1.2.9",
"@radix-ui/react-select": "^2.2.5",
"@radix-ui/react-separator": "^1.1.7",
"@radix-ui/react-slider": "^1.3.6",
"@radix-ui/react-slot": "^1.2.3",
"@radix-ui/react-switch": "^1.2.5",
"@radix-ui/react-tooltip": "^1.2.7",
Expand All @@ -57,6 +58,7 @@
"i18next": "^25.2.1",
"i18next-browser-languagedetector": "^8.1.0",
"input-otp": "^1.4.2",
"jszip": "^3.10.1",
"lucide-react": "^0.511.0",
"motion": "^12.17.0",
"nanoid": "^5.1.5",
Expand Down
Loading