
diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml deleted file mode 100644 index d0d165a..0000000 --- a/.github/workflows/preview.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Vercel Preview Deployment -env: - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} -on: - push: - branches-ignore: - - main -jobs: - Deploy-Preview: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - uses: pnpm/action-setup@v4 - name: Install pnpm - with: - run_install: false - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: "pnpm" - - - name: Install dependencies - run: pnpm install - - - name: Install Vercel CLI - run: npm install --global vercel@latest - - name: Pull Vercel Environment Information - run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }} - - name: Build Project Artifacts - run: vercel build --token=${{ secrets.VERCEL_TOKEN }} - - name: Deploy Project Artifacts to Vercel - run: vercel deploy --prebuilt --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml deleted file mode 100644 index 47f1b82..0000000 --- a/.github/workflows/production.yml +++ /dev/null @@ -1,37 +0,0 @@ -name: Vercel Production Deployment -env: - VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} - VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} -on: - push: - branches: - - main -jobs: - Deploy-Production: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - uses: pnpm/action-setup@v4 - name: Install pnpm - with: - run_install: false - - - name: Install Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: "pnpm" - - - name: Install dependencies - run: pnpm install - - - name: Install Vercel CLI - run: npm install --global vercel@latest - - name: Pull Vercel Environment Information - run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }} - - name: Build Project Artifacts - run: vercel build --prod --token=${{ secrets.VERCEL_TOKEN }} - - name: Deploy Project Artifacts to Vercel - run: vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index e69de29..0000000 diff --git a/apps/api-go/payload.json b/apps/api-go/payload.json deleted file mode 100644 index d408314..0000000 --- a/apps/api-go/payload.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "userId": "user_2fJE3fogkq7ScFnUojOlAlSyzeZ", - "aniwaveUrl": "https://aniwave.to/watch/boku-no-hero-academia-7.m69vo", - "nyaaUrl": "https://nyaa.si/?f=0&c=0_0&q=ember+academia+season+7" -} diff --git a/apps/api/.gitignore b/apps/api/.gitignore new file mode 100644 index 0000000..506e4c3 --- /dev/null +++ b/apps/api/.gitignore @@ -0,0 +1,2 @@ +# deps +node_modules/ diff --git a/apps/api/README.md b/apps/api/README.md new file mode 100644 index 0000000..6dd13e7 --- /dev/null +++ b/apps/api/README.md @@ -0,0 +1,11 @@ +To install dependencies: +```sh +bun install +``` + +To run: +```sh +bun run dev +``` + +open http://localhost:3000 diff --git a/apps/api/bun.lockb b/apps/api/bun.lockb new file mode 100755 index 0000000..7bb828b Binary files /dev/null and b/apps/api/bun.lockb differ diff --git a/apps/api/details.html b/apps/api/details.html new file mode 100644 index 0000000..dc8cd9f --- /dev/null +++ b/apps/api/details.html @@ -0,0 +1,1977 @@ + + +
+
Comments
+