17 Commits

Author SHA1 Message Date
cbec267f7b THE LINE TODAY ONE WORKS, WOOOOOOOO 2025-05-14 23:31:21 +08:00
96b297f617 Refactor API endpoints to use cached data and update Code of Conduct to Contributor Covenant 2025-05-14 18:52:14 +08:00
878ac4f1a6 Add news source data CSV file with various Taiwanese media outlets 2025-05-14 15:00:14 +08:00
456b2ad33e Fuck Microsoft, Yahoo news is better to scrape :D 2025-05-14 00:17:26 +08:00
9e76ab1712 Add postgres, made some MORE changes. 2025-05-13 23:50:35 +08:00
4c7f9b47d0 Tried to add keyboard shortcuts, it's awful... feat: add terminal window component and about news organization window; update localization for terminal; refactor database connection in hot_articles.py; remove sources.vue 2025-05-13 16:33:06 +08:00
fd2ba525f9 feat: update README and various components for improved formatting and error handling; enhance login functionality with password encryption 2025-05-12 10:17:21 +08:00
b461e81360 feat: implement DraggableWindow component and update index.vue layout; enhance scraping scripts for better error handling and content extraction 2025-05-12 00:39:28 +08:00
f8fa412de9 feat: update README with folder structure and execution instructions; add scraping scripts for news articles 2025-05-11 17:31:37 +08:00
930713042e refactor: remove GitHub authentication API endpoints and add new components
- Deleted GitHub callback and authentication handler files.
- Added new component for displaying headlines.
- Implemented hot news feed component with external API fetching.
- Created dynamic news provider page with routing.
- Developed news organization about page with animations and data fetching.
- Introduced a code of conduct document.
2025-05-11 14:37:46 +08:00
b35e96625e feat: add news organization about page with dynamic content fetching and animation 2025-05-11 09:57:56 +08:00
edf10adf5a Update requirements and enhance CSS styles
- Added new dependencies to requirements.txt: psycopg2-binary, pandas, and dotenv for improved functionality.
- Enhanced main.css by adding 'scroll-smooth' to the html element for better scrolling experience.
2025-05-11 09:39:21 +08:00
666f6ac38b refactor: update PostgreSQL import and initialization
- Changed the import statement from "bun" to "postgres".
- Simplified the PostgreSQL client initialization by directly using the connection string.
2025-05-11 00:17:42 +08:00
089c90f79b Made a micro scraper. 2025-05-10 23:40:19 +08:00
bf38065e52 Implement structural updates and optimizations across multiple modules 2025-05-10 23:21:36 +08:00
5d58016b1d Clean code. 2025-05-10 22:05:10 +08:00
bf357f1c84 feat: add AI chat and summarize endpoints with database integration
- Implemented a new chat endpoint that utilizes Groq for chat completions based on news articles.
- Added a summarize endpoint that fetches news articles from the database and generates summaries using Groq.
- Introduced a new package "@vueuse/core" for improved reactivity.
- Created a comprehensive command UI component with various subcomponents for better user interaction.
- Developed a scraping module using Scrapy to fetch news articles from Google News.
- Added validation and sanitization for slug parameters in the fetch article endpoint.
2025-05-10 21:57:38 +08:00