An application where you can view/compare news. Oh and it also checks for bad content :D https://yhw.tw/news?forward=tools
Find a file
2025-05-11 23:23:05 +08:00
.github/workflows Clean code. 2025-05-10 22:05:10 +08:00
components Remove clerk. 2025-05-11 18:24:18 +08:00
i18n After a few hours debugging css, It finally looks really good, like xfce :D 2025-05-11 16:32:10 +08:00
layouts refactor: remove GitHub authentication API endpoints and add new components 2025-05-11 14:37:46 +08:00
lib feat: update footer link formatting and add shadcn-nuxt integration 2025-05-08 20:48:51 +08:00
pages feat: update nuxt.config.ts with redirects for specific paths; remove index.vue and add desktop/index.vue for app structure 2025-05-11 23:23:05 +08:00
public feat: add S3 configuration and update project structure 2025-05-06 09:43:26 +08:00
scraping feat: update README with folder structure and execution instructions; add scraping scripts for news articles 2025-05-11 17:31:37 +08:00
server refactor: remove GitHub authentication API endpoints and add new components 2025-05-11 14:37:46 +08:00
styles feat: update environment setup scripts and enhance animation styles 2025-05-11 16:48:29 +08:00
.dockerignore Jsut testing in prod :( 2025-05-09 23:02:01 +08:00
.env.example feat: update environment setup scripts and enhance animation styles 2025-05-11 16:48:29 +08:00
.gitignore feat: integrate Sentry for error tracking and performance monitoring 2025-05-11 14:40:22 +08:00
app.vue After a few hours debugging css, It finally looks really good, like xfce :D 2025-05-11 16:32:10 +08:00
bun.lock Remove clerk from packages. 2025-05-11 18:27:54 +08:00
clone-env.ps1 feat: update environment setup scripts and enhance animation styles 2025-05-11 16:48:29 +08:00
clone-env.sh feat: update environment setup scripts and enhance animation styles 2025-05-11 16:48:29 +08:00
CODE_OF_CONDUCT.md.md refactor: remove GitHub authentication API endpoints and add new components 2025-05-11 14:37:46 +08:00
components.json feat: update footer link formatting and add shadcn-nuxt integration 2025-05-08 20:48:51 +08:00
createDatabase.ts Clean code. 2025-05-10 22:05:10 +08:00
docker-compose.yml Switch to working docker-compose for deployments 2025-05-11 18:09:41 +08:00
Dockerfile Add working docker & docker compose. 2025-05-10 10:26:32 +08:00
new-docker-compose.yml Switch to working docker-compose for deployments 2025-05-11 18:09:41 +08:00
nuxt.config.ts feat: update nuxt.config.ts with redirects for specific paths; remove index.vue and add desktop/index.vue for app structure 2025-05-11 23:23:05 +08:00
package.json Remove clerk from packages. 2025-05-11 18:27:54 +08:00
README.md feat: enhance README and index.vue with additional inspired sources and interface definitions 2025-05-11 20:54:48 +08:00
sentry.client.config.ts feat: integrate Sentry for error tracking and performance monitoring 2025-05-11 14:40:22 +08:00
sentry.server.config.ts feat: integrate Sentry for error tracking and performance monitoring 2025-05-11 14:40:22 +08:00
tailwind.config.js feat: update footer link formatting and add shadcn-nuxt integration 2025-05-08 20:48:51 +08:00
tsconfig.json Init 2025-05-06 09:19:48 +08:00

新聞解析 / News Analyze

App Design: Freeform

Why?

我們使用這個新聞來舉例:

朱立倫批政府像希特勒德國在台協會:不應為政治扭曲歷史| 政治 - 中央社 CNA
5/7/2025, 11:17:00 PM
類似新聞:
  - 朱立倫批政府像希特勒德國在台協會:不應為政治扭曲歷史| 政治 - 中央社 CNA
  - 快訊/硬起來!朱立倫回擊德國在台協會:外國政府不該干預各國內政 - 富房網
  - 綠委憂希特勒說釀災 外交部:全力向駐台館處說明 - 經濟日報
  - 「朱立倫道歉」!亂比喻遭德國、以色列譴責 民進黨:賠上台灣國際名譽 - 奇摩新聞
  - 洪聖斐觀點》獨裁餘毒罵人「法西斯」 朱立倫東施效顰共產黨| 政治 - Newtalk新聞

你會看到許多觀點,但不知道這些新聞為什麼會寫比較偏見的文章。

Inspired by

  • puter.com
  • Perplexity
  • Ground.news
  • 台灣新聞
  • Threads

Stack:

  • Postgres
  • Tailwind
  • Nuxt
  • Animate.css
  • GSAP
  • Minio S3
  • Nuxt i18n
  • BunJS
  • Groq
  • Custom Infra
  • Python
  • BeautifulSoup4

Folder Structure

├── .github/
│   └── workflows/
├── .nuxt/
├── .output/
├── components/
│   ├── app/
│   │   └── newsOrgAbout/
│   └── ui/
├── i18n/
├── layouts/
├── lib/
├── pages/
│   └── app/
├── public/
├── scraping/
├── server/
│   ├── api/
│   │   └── objectstorage/
│   ├── components/
│   └── routes/
├── styles/
├── app.vue
├── createDatabase.ts
├── nuxt.config.ts
├── package.json
├── tailwind.config.js
└── tsconfig.json

如何執行

  1. First, rename .env.example to .env and fill in the blanks.
  2. Run bun install to install dependencies.
  3. Run bun run createDatabase to create the database.
  4. Run ps1 clone-env.ps1 or bash clone-env.sh to clone the .env file to the scraping folder.
  5. Run bun run build to build the project.
  6. Run bun run preview to start the preview server.
  7. Open http://localhost:3000 in your browser.

For scaping

First, Run ps1 clone-env.ps1 or bash clone-env.sh to clone the .env file to the scraping folder, then cd into the scraping folder. Run python main.py to start scraping in Google News.