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: 3 additions & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Summary
-

-

## Checklist

- [ ] Linked related issue (if applicable)
- [ ] Updated docs/content (if needed)
2 changes: 1 addition & 1 deletion .github/workflows/watchtower.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
# commit_message: "🤖 Auto-fetch: Update seen_urls"
# file_pattern: 'web-scraper/seen_urls.txt'
# skip_dirty_check: false
# create_branch: false
# create_branch: false
23 changes: 23 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"search.exclude": {
"**/dist": true,
"**/node_modules": true,
"**/.astro": true,
"**/.wrangler": true,
"**/coverage": true
},
"files.watcherExclude": {
"**/dist/**": true,
"**/node_modules/**": true,
"**/.astro/**": true,
"**/.wrangler/**": true,
"**/coverage/**": true
},
"eslint.validate": [
"javascript",
"javascriptreact",
"astro", // Enable .astro
"typescript", // Enable .ts
"typescriptreact" // Enable .tsx
]
}
1 change: 0 additions & 1 deletion CONTRIBUTE.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@ Submit the issue:

![submit](https://raw.githubusercontent.com/DynoW/images/main/cuza.pages.dev/tutorial-13.png)


## Rules:

- Please respect the format of pages.
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ CuzaPages is an open-source study platform that aggregates courses, past exam pa

## Tech Stack

| Layer | Technology |
|---|---|
| Framework | [Astro](https://astro.build) v6 |
| Styling | [Tailwind CSS](https://tailwindcss.com) v4 |
| UI components | [React](https://react.dev) v19 |
| Diagrams | [Excalidraw](https://excalidraw.com) |
| Backend / API | [Hono](https://hono.dev) on Cloudflare Workers |
| File storage | Cloudflare R2 |
| Hosting | Cloudflare Pages |
| Package manager | [pnpm](https://pnpm.io) |
| Layer | Technology |
| --------------- | ---------------------------------------------- |
| Framework | [Astro](https://astro.build) v6 |
| Styling | [Tailwind CSS](https://tailwindcss.com) v4 |
| UI components | [React](https://react.dev) v19 |
| Diagrams | [Excalidraw](https://excalidraw.com) |
| Backend / API | [Hono](https://hono.dev) on Cloudflare Workers |
| File storage | Cloudflare R2 |
| Hosting | Cloudflare Pages |
| Package manager | [pnpm](https://pnpm.io) |

## Project Structure

Expand Down
38 changes: 18 additions & 20 deletions astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
import sitemap from '@astrojs/sitemap';
import react from '@astrojs/react';
import compress from 'astro-compress';
import { defineConfig } from "astro/config";
import tailwindcss from "@tailwindcss/vite";
import sitemap from "@astrojs/sitemap";
import react from "@astrojs/react";
import playformCompress from "@playform/compress";

export default defineConfig({
site: 'https://cuza.pages.dev',
trailingSlash: 'never',
site: "https://cuza.pages.dev",
trailingSlash: "never",
redirects: {
'/fizica': '/',
"/fizica": "/",
},
build: {
format: 'file',
inlineStylesheets: 'always',
assets: 'file'
format: "file",
inlineStylesheets: "always",
assets: "file",
},
vite: {
build: {
Expand All @@ -24,20 +24,18 @@ export default defineConfig({
},
},
},
plugins: [
tailwindcss()
]
plugins: [tailwindcss()],
},
markdown: {
shikiConfig: {
theme: 'github-dark'
}
theme: "github-dark",
},
},
integrations: [
sitemap({
filter: (page) => !page.includes('/install') && !page.includes('/upload')
filter: (page) => !page.includes("/install") && !page.includes("/upload"),
}),
react(),
compress()
]
});
playformCompress(),
],
});
4 changes: 2 additions & 2 deletions cuza-worker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ Pass the `CloudflareBindings` as generics when instantiation `Hono`:

```ts
// src/index.ts
const app = new Hono<{ Bindings: CloudflareBindings }>()
const app = new Hono<{ Bindings: CloudflareBindings }>();
```

> Copyright (c) 2026 Daniel C. (DynoW) — https://github.com/DynoW/cuza.pages.dev
> See [LICENSE](LICENSE) for details
> See [LICENSE](LICENSE) for details
10 changes: 5 additions & 5 deletions cuza-worker/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
"cf-typegen": "wrangler types"
},
"dependencies": {
"hono": "^4.10.1"
"hono": "^4.12.9"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20251011.0",
"typescript": "^5.9.3",
"wrangler": "^4.71.0"
"@cloudflare/workers-types": "^4.20260317.1",
"typescript": "^6.0.2",
"wrangler": "^4.77.0"
}
}
}
Loading