diff --git a/.DS_Store b/.DS_Store index 5008ddfcf..215c64b96 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index bb45ebeeb..000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1 +0,0 @@ -github: [nekomeowww, kwaa] diff --git a/.github/workflows/ci-build.yaml b/.github/workflows/ci-build.yaml deleted file mode 100644 index a3dbeb83c..000000000 --- a/.github/workflows/ci-build.yaml +++ /dev/null @@ -1,88 +0,0 @@ -name: Build Previewing Docs - -on: - pull_request: - branches: - - main - -env: - STORE_PATH: '' - -jobs: - build: - strategy: - matrix: - os: [ubuntu-latest] - - name: Build - ${{ matrix.os }} - - runs-on: ${{ matrix.os }} - steps: - # This is quite weird. - # Eventhough this is the *intended* solution introduces in official blog post here - # https://securitylab.github.com/research/github-actions-preventing-pwn-requests/. - # But still, as https://github.com/orgs/community/discussions/25220#discussioncomment-7856118 stated, - # this is vulnerable since there is no source of truth about which PR in the triggered workflow. - - name: Presist PR number - run: | - echo "${{ github.event.number }}" > pr_num - - - name: Upload PR artifact - uses: actions/upload-artifact@v4 - with: - name: pr-num - path: ./pr_num - overwrite: true - - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Install Node.js 22.x - uses: actions/setup-node@v4 - with: - node-version: 22.x - - - uses: pnpm/action-setup@v3 - name: Install pnpm - with: - run_install: false - - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - uses: actions/cache@v4 - name: Setup pnpm cache - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies - run: pnpm install --frozen-lockfile - - - name: Build packages - run: pnpm packages:build - env: - # As suggested in Verbose Build option to be able to track down errors https://github.com/vuejs/vitepress/issues/422 - # vitepress build command does not have --debug option, so we need to set it manually where the debug package is used. - DEBUG: none - - - name: Build docs - run: pnpm docs:build - env: - # As suggested in Verbose Build option to be able to track down errors https://github.com/vuejs/vitepress/issues/422 - # vitepress build command does not have --debug option, so we need to set it manually where the debug package is used. - # DEBUG: 'vitepress:*' - VUE_PROD_HYDRATION_MISMATCH_DETAILS_FLAG: '1' - - - name: Upload artifact - uses: actions/upload-artifact@v4 - with: - name: docs-${{ matrix.os }}-build - path: docs/.vitepress/dist - overwrite: true diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 72f90c302..000000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: CI - -on: - push: - branches: - - main - - pull_request: - branches: - - main - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - - uses: actions/setup-node@v3 - with: - node-version: lts/* - cache: pnpm - - - name: Install - run: pnpm install - - - name: Lint - run: pnpm run lint - - typecheck: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 - - uses: actions/setup-node@v3 - with: - node-version: lts/* - cache: pnpm - - - name: Install - run: pnpm install - - - name: Typecheck - run: pnpm run typecheck diff --git a/.github/workflows/preview-docs-deployment.yaml b/.github/workflows/preview-docs-deployment.yaml deleted file mode 100644 index 3c05dd060..000000000 --- a/.github/workflows/preview-docs-deployment.yaml +++ /dev/null @@ -1,151 +0,0 @@ -name: Push Previewing Docs to Netlify - -on: - workflow_run: - workflows: - - Build Previewing Docs - types: - - completed - -env: - PR_NUM: 0 - STORE_PATH: '' - UBUNTU_NETLIFY_JSON_OUTPUT: '' - UBUNTU_NETLIFY_URL: '' - WINDOWS_NETLIFY_JSON_OUTPUT: '' - WINDOWS_NETLIFY_URL: '' - -jobs: - on-success: - name: Deploy to Netlify - runs-on: ubuntu-latest - permissions: - pull-requests: write - if: ${{ github.event.workflow_run.conclusion == 'success' }} - steps: - - name: Download artifact - PR - uses: dawidd6/action-download-artifact@v7 - with: - workflow_conclusion: success - run_id: ${{ github.event.workflow_run.id }} - name: pr-num - path: pr-num - allow_forks: true - - - name: Obtain PR number - id: pr-num - run: | - echo "PR_NUM=$(cat pr-num/pr_num)" >> $GITHUB_ENV - - - name: Download artifact - Ubuntu - uses: dawidd6/action-download-artifact@v7 - with: - workflow_conclusion: success - run_id: ${{ github.event.workflow_run.id }} - name: docs-ubuntu-latest-build - path: docs-ubuntu-latest-build - allow_forks: true - - - name: Install Node.js 22.x - uses: actions/setup-node@v4 - with: - node-version: 22.x - - - uses: pnpm/action-setup@v3 - name: Install pnpm - with: - run_install: false - version: 9 - - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - uses: actions/cache@v4 - name: Setup pnpm cache - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install Netlify CLI - run: pnpm install -g netlify-cli@17.36.0 - - - name: Push to Netlify - Ubuntu - id: netlify-ubuntu-latest - timeout-minutes: 10 - run: | - UBUNTU_NETLIFY_JSON_OUTPUT=$(netlify deploy --dir docs-ubuntu-latest-build --json) - echo $UBUNTU_NETLIFY_JSON_OUTPUT - - echo "UBUNTU_NETLIFY_JSON_OUTPUT=$(echo $UBUNTU_NETLIFY_JSON_OUTPUT)" >> $GITHUB_ENV - echo "UBUNTU_NETLIFY_URL=$(echo $UBUNTU_NETLIFY_JSON_OUTPUT | jq -r .deploy_url)" >> $GITHUB_ENV - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} - - - name: Find Comment - uses: peter-evans/find-comment@v3 - id: fc - with: - issue-number: ${{ env.PR_NUM }} - comment-author: 'github-actions[bot]' - body-includes: to Netlify - - - name: Create or update comment - uses: peter-evans/create-or-update-comment@v4 - with: - comment-id: ${{ steps.fc.outputs.comment-id }} - issue-number: ${{ env.PR_NUM }} - body: | - ## ✅ Successfully deployed to Netlify - - | Platform | Status | URL | - |:---------|:------------|:---------------------------------| - | Ubuntu | Success | ${{ env.UBUNTU_NETLIFY_URL }} | - edit-mode: replace - - on-failure: - name: Failed to build previewing docs - runs-on: ubuntu-latest - permissions: - pull-requests: write - - if: ${{ github.event.workflow_run.conclusion == 'failure' }} - steps: - - name: Download artifact - PR - uses: dawidd6/action-download-artifact@v7 - with: - workflow_conclusion: success - run_id: ${{ github.event.workflow_run.id }} - name: pr-num - path: pr-num - allow_forks: true - - - name: Obtain PR number - id: pr-num - run: | - echo "PR_NUM=$(cat pr-num/pr_num)" >> $GITHUB_ENV - - - name: Find Comment - uses: peter-evans/find-comment@v3 - id: fc - with: - issue-number: ${{ env.PR_NUM }} - comment-author: 'github-actions[bot]' - body-includes: to Netlify - - - name: Create or update comment - uses: peter-evans/create-or-update-comment@v4 - with: - comment-id: ${{ steps.fc.outputs.comment-id }} - issue-number: ${{ env.PR_NUM }} - body: | - ## ❌ Failed to deploy to Netlify - - | Platform | Status | URL | - |:---------|:------------|:------------------------------------------------------| - | Ubuntu | Failed | Please check the status and logs of the workflow run. | - edit-mode: replace diff --git a/.github/workflows/production-docs-deployment.yaml b/.github/workflows/production-docs-deployment.yaml deleted file mode 100644 index 991565e7e..000000000 --- a/.github/workflows/production-docs-deployment.yaml +++ /dev/null @@ -1,70 +0,0 @@ -name: Build Docs to Netlify - -on: - push: - branches: - - main - -env: - STORE_PATH: '' - -jobs: - build: - name: Build - runs-on: ubuntu-24.04 - environment: - name: Production Docs - url: https://nolebase-integrations.ayaka.io - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - - name: Install Node.js 22.x - uses: actions/setup-node@v4 - with: - node-version: 22.x - - - uses: pnpm/action-setup@v3 - name: Install pnpm - with: - run_install: false - - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - uses: actions/cache@v4 - name: Setup pnpm cache - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies - run: pnpm install --frozen-lockfile - - - name: Build docs - run: | - pnpm packages:build - pnpm docs:build - env: - # As suggested in Verbose Build option to be able to track down errors https://github.com/vuejs/vitepress/issues/422 - # vitepress build command does not have --debug option, so we need to set it manually where the debug package is used. - # DEBUG: 'vitepress:*' - VUE_PROD_HYDRATION_MISMATCH_DETAILS_FLAG: '1' - - - name: Install Netlify CLI - run: pnpm install -g netlify-cli@17.36.0 - - - name: Push to Netlify - timeout-minutes: 10 - working-directory: docs/ - run: | - netlify deploy --dir 'docs/.vitepress/dist' --prod --debug - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 5eda00af3..000000000 --- a/.npmrc +++ /dev/null @@ -1,4 +0,0 @@ -shamefully-hoist=true -strict-peer-dependencies=false -shell-emulator=true -auto-install-peers=false diff --git a/.stackblitzrc b/.stackblitzrc deleted file mode 100644 index d98146f4d..000000000 --- a/.stackblitzrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "installDependencies": true, - "startCommand": "npm run dev" -} diff --git a/.vscode/extensions.json b/.vscode/extensions.json deleted file mode 100644 index 4a2da0864..000000000 --- a/.vscode/extensions.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "recommendations": [ - "antfu.iconify", - "antfu.unocss", - "antfu.goto-alias", - "csstools.postcss", - "dbaeumer.vscode-eslint", - "vue.volar" - ] -} diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index aa018fc86..000000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "files.associations": { - "*.css": "postcss" - }, - - // Disable the default formatter, use eslint instead - "prettier.enable": false, - "editor.formatOnSave": false, - - // Auto fix - "editor.codeActionsOnSave": { - "source.fixAll.eslint": "explicit", - "source.organizeImports": "never" - }, - - // Silent the stylistic rules in you IDE, but still auto fix them - "eslint.rules.customizations": [ - { "rule": "style/*", "severity": "off" }, - { "rule": "*-indent", "severity": "off" }, - { "rule": "*-spacing", "severity": "off" }, - { "rule": "*-spaces", "severity": "off" }, - { "rule": "*-order", "severity": "off" }, - { "rule": "*-dangle", "severity": "off" }, - { "rule": "*-newline", "severity": "off" }, - { "rule": "*quotes", "severity": "off" }, - { "rule": "*semi", "severity": "off" } - ], - - // Enable eslint for all supported languages - "eslint.validate": [ - "javascript", - "javascriptreact", - "typescript", - "typescriptreact", - "vue", - "html", - "markdown", - "json", - "jsonc", - "yaml" - ] -} diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 6a0c70b62..000000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2021-PRESENT Anthony Fu - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/README.md b/README.md deleted file mode 100644 index 50d607f4e..000000000 --- a/README.md +++ /dev/null @@ -1,17 +0,0 @@ -

アイリ VTuber

- -

- [Try it] -

- -> Heavily inspired by [Neuro-sama](https://www.youtube.com/@Neurosama) - -## Development - -```shell -pnpm i -``` - -```shell -pnpm dev -``` diff --git a/app/app.vue b/app/app.vue deleted file mode 100644 index 57f96a808..000000000 --- a/app/app.vue +++ /dev/null @@ -1,29 +0,0 @@ - - - - - diff --git a/app/assets/live2d/models/hiyori_free_zh/avatar.png b/app/assets/live2d/models/hiyori_free_zh/avatar.png deleted file mode 100644 index e894a0054..000000000 Binary files a/app/assets/live2d/models/hiyori_free_zh/avatar.png and /dev/null differ diff --git a/app/components/AudioWaveform.vue b/app/components/AudioWaveform.vue deleted file mode 100644 index 1a6bd4f2a..000000000 --- a/app/components/AudioWaveform.vue +++ /dev/null @@ -1,97 +0,0 @@ - - - diff --git a/app/components/BasicTextarea.vue b/app/components/BasicTextarea.vue deleted file mode 100644 index 3147dcaa9..000000000 --- a/app/components/BasicTextarea.vue +++ /dev/null @@ -1,75 +0,0 @@ - - -