Skip to content

refactor: Rewrite #275

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 70 commits into
base: dev
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
4462ff1
refactor: delete all files
madkarmaa Mar 30, 2025
f0c2ff6
feat: init SvelteKit project
madkarmaa Mar 30, 2025
0c25b35
feat: begin to add API interfaces
madkarmaa Apr 1, 2025
e507d0e
feat: complete backend models
madkarmaa Apr 1, 2025
9c8014b
feat: complete api interfaces
madkarmaa Apr 1, 2025
21802b9
refactor: use authToken field instead of username/password
madkarmaa Apr 2, 2025
1c3ba3a
refactor: uppercase letter
madkarmaa Apr 2, 2025
1e553d6
feat: add routes
madkarmaa Apr 2, 2025
b9f8f11
feat: add SCSS support
madkarmaa Apr 2, 2025
101f054
refactor: move file
madkarmaa Apr 2, 2025
5f19ef6
feat: enable static rendering
madkarmaa Apr 2, 2025
8cc84f3
refactor: remove SCSS support
madkarmaa Apr 3, 2025
54c5929
feat: add `Manrope` font
madkarmaa Apr 3, 2025
f08b8de
feat: add favicon
madkarmaa Apr 3, 2025
8902901
feat: init components structure
madkarmaa Apr 3, 2025
1f17cfa
feat: add button code (no style)
madkarmaa Apr 3, 2025
4a176fc
refactor: capitalize variable
madkarmaa Apr 4, 2025
691999b
refactor: temporarily remove non-static route for successful builds
madkarmaa Apr 4, 2025
d75aa72
refactor: make type only files have `.d.ts` extension
madkarmaa Apr 4, 2025
c91b142
ci: add dev deplyment workflow
madkarmaa Apr 4, 2025
625c0dd
ci: use pnpm
madkarmaa Apr 4, 2025
688e1c9
fix: fix build path
madkarmaa Apr 4, 2025
c0e75c1
fix: use folder name with no path structure
madkarmaa Apr 4, 2025
eb51ccf
feat: add themes functionality
madkarmaa Apr 5, 2025
bbb999a
fix: use `$effect` instead of `onMount`
madkarmaa Apr 5, 2025
0bd302a
refactor: camelCase names
madkarmaa Apr 5, 2025
9de3862
feat: add stores file alias
madkarmaa Apr 5, 2025
997a226
refactor: add comments
madkarmaa Apr 5, 2025
70af4e5
feat: add page title
madkarmaa Apr 5, 2025
174dbca
refactor: do logic in js to use less lines of code
madkarmaa Apr 5, 2025
e36417b
feat: add `weeks` fn
madkarmaa Apr 5, 2025
63e0d63
refactor: use conditional types
madkarmaa Apr 8, 2025
a90f555
feat: add styles for `<Button />`
madkarmaa Apr 12, 2025
7f3a6d4
feat: add `<SquigglyDivider />` component
madkarmaa Apr 14, 2025
1ffe7da
ci: use bun instead of pnpm
madkarmaa Apr 14, 2025
7528f90
ci: cache dependencies
madkarmaa Apr 14, 2025
3b65d00
feat: add DMCA badge
madkarmaa Apr 16, 2025
d628c6b
refactor: indentation
madkarmaa Apr 16, 2025
6c6ee20
feat: add env stuff
madkarmaa Apr 16, 2025
7ad4392
ci: add env vars back
madkarmaa Apr 16, 2025
44e60e0
feat: add mock data
madkarmaa Apr 29, 2025
c811a50
refactor: make the DMCA GUID a prop
madkarmaa Apr 29, 2025
f37b0c9
feat: footer
madkarmaa Apr 30, 2025
5fbcf01
feat: use `unplugin-icons` instead of `svelte-material-icons`
madkarmaa Apr 30, 2025
88dcf4d
refactor: newline
madkarmaa Apr 30, 2025
9547519
refactor: switch from `<Page />` component to layout file
madkarmaa May 2, 2025
34f734c
refactor: rename themes to events
madkarmaa May 4, 2025
150f14b
refactor: rename more
madkarmaa May 4, 2025
be63dad
refactor: deobfuscate `getEaster` function
madkarmaa May 4, 2025
0ab6b7e
refactor: update event name every minute
madkarmaa May 4, 2025
ef9bf6b
feat: add mobile dropdown
madkarmaa May 4, 2025
0ee8984
feat: add navbar button type
madkarmaa May 4, 2025
bbe6267
feat: style footer
madkarmaa May 7, 2025
bee1c8c
feat: add some global styles
madkarmaa May 7, 2025
f3c3660
feat: add `<Banner />` component
madkarmaa May 7, 2025
c989642
refactor: correctly name method
madkarmaa May 9, 2025
87c4bfa
fix: make api status banner permanent
madkarmaa May 9, 2025
ff58050
refactor: fetch status page
madkarmaa May 9, 2025
485ac26
refactor: better banner logic
madkarmaa May 9, 2025
9dc01db
fix: correctly type props
madkarmaa May 9, 2025
63a0e68
feat: add debug outlines functionality
madkarmaa May 9, 2025
595a11b
feat: add navbar buttons
madkarmaa May 9, 2025
4b740e7
refactor: separate props
madkarmaa May 10, 2025
8182d7d
chore: update deps
madkarmaa May 22, 2025
3d3dfad
refactor: use new svelte attachments
madkarmaa May 22, 2025
a3b70fd
ci: update deps
madkarmaa Jun 9, 2025
c700dbf
fix: prevent full page reload on link click
madkarmaa Jun 9, 2025
357b487
refactor: remove `Prettify` type
madkarmaa Jun 9, 2025
0f1a57b
refactor: use the & css nesting syntax where possible
madkarmaa Jun 9, 2025
5f691a7
fix: correctly highlight navbar button on navigate
madkarmaa Jun 9, 2025
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 .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
RV_API_URL=https://api.revanced.app
RV_API_URL=
RV_GOOGLE_TAG_MANAGER_ID=
RV_DMCA_GUID=
15 changes: 0 additions & 15 deletions .eslintignore

This file was deleted.

30 changes: 0 additions & 30 deletions .eslintrc.cjs

This file was deleted.

109 changes: 0 additions & 109 deletions .github/ISSUE_TEMPLATE/bug_report.yml

This file was deleted.

5 changes: 0 additions & 5 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

105 changes: 0 additions & 105 deletions .github/ISSUE_TEMPLATE/feature_request.yml

This file was deleted.

2 changes: 0 additions & 2 deletions .github/config.yml

This file was deleted.

8 changes: 0 additions & 8 deletions .github/dependabot.yml

This file was deleted.

22 changes: 16 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,40 +9,50 @@ on:
pull_request:
branches:
- dev

jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest

permissions:
contents: read
deployments: write
pull-requests: write

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
- name: Cache dependencies
uses: actions/cache@v4
with:
path: '**/node_modules'
key: ${{ runner.os }}-bun-${{ hashFiles('**/bun.lock') }}
restore-keys: ${{ runner.os }}-bun-

- name: Install Bun
uses: oven-sh/setup-bun@v2
with:
cache: npm
bun-version: latest

- name: Install dependencies
run: npm i
run: bun i

- name: Build
env:
RV_API_URL: ${{ vars.RV_API_URL }}
RV_GOOGLE_TAG_MANAGER_ID: ${{ vars.RV_GOOGLE_TAG_MANAGER_ID }}
RV_DMCA_GUID: ${{ vars.RV_DMCA_GUID }}
run: npm run build
run: bun run build

- name: Deploy
id: deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy public --project-name=revanced-website
command: pages deploy build --project-name=revanced-website

- name: Comment deployment URL
if: ${{ github.event_name == 'pull_request' }}
Expand Down
26 changes: 0 additions & 26 deletions .github/workflows/open_pull_request.yml

This file was deleted.

Loading