224 Commits

Author SHA1 Message Date
f5734e7e5d Fix SQL errors. 2025-05-13 23:20:38 +08:00
d6fb71d460 still broken chatbot. 2025-05-13 23:09:11 +08:00
784b45451e feat: add Input component and integrate it into chatbot; enhance chatbot layout with new message input 2025-05-13 22:38:15 +08:00
5803207451 Refactor code structure for improved readability and maintainability 2025-05-13 20:43:39 +08:00
157713ed24 Loadvalue object for things 2025-05-13 16:37:56 +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
5d77b2770d It's so bad that it works... AI: feat: update environment variables in .env.example; enhance chatbot and hotnews components; improve sources layout and image handling; add new logo assets 2025-05-13 15:47:02 +08:00
34a0868b26 Remake the home page. 2025-05-13 14:14:50 +08:00
5a585ddf7c feat: enhance Q&A section with detailed explanations and accordion functionality; update localization for English and Traditional Chinese 2025-05-13 11:24:13 +08:00
28240b38dc feat: update toggle components and enhance chatbot layout; upgrade dependencies and improve UI structure 2025-05-13 09:57:48 +08:00
5bf857f3cd feat: enhance UI components and add accordion functionality
- Updated DraggableWindow.vue to improve shadow effects.
- Refactored AboutWindow.vue for better structure and readability.
- Added chatbot functionality in chatbot.vue with cookie management.
- Improved navigation component for better code clarity.
- Created a new chat history table in the database schema.
- Modified error handling in error.vue to display error messages correctly.
- Integrated ChatbotWindow into the desktop application layout.
- Implemented accordion component in home.vue for Q/A section.
- Enhanced API for chat functionality with improved error handling.
- Removed unused routes for cleaner codebase.
- Added custom animations for accordion components in tailwind.config.js.
- Developed accordion UI components (Accordion, AccordionContent, AccordionItem, AccordionTrigger) for better user interaction.
2025-05-13 09:40:37 +08:00
f89e6aaa48 Add new translations and chatbot window
- Updated English and Traditional Chinese translations to include "search", "chatbot", and "starred".
- Added "chatbot" menu item to the desktop application.
- Refactored window management functions for better clarity and organization.
- Created a new chatbot component with a basic template.
2025-05-13 00:18:19 +08:00
a06e696e24 feat: update About section and localization; enhance layout in about.vue and change "關於我們" to "關於這個網站" 2025-05-12 23:31:28 +08:00
1065a982b0 feat: enhance UI components with improved styles and new windows; add error handling and copyright information 2025-05-12 23:05:42 +08:00
eaa9b15b2d Clean the code via prettier. 2025-05-12 21:05:45 +08:00
57aa0aba18 feat: enhance DraggableWindow component with additional emit events for window control; update hotnews component to handle pending state; modify home link for improved navigation 2025-05-12 21:05:14 +08:00
71aac20c36 feat: restructure mobile template for better layout and user guidance; remove unused emoji converter from home component 2025-05-12 19:07:04 +08:00
ed42dde9ba Switch back. 2025-05-12 15:53:08 +08:00
4744145bc9 Remove stuff 2025-05-12 14:54:51 +08:00
98869d5fce feat: update environment variables, enhance login functionality with password hashing, and improve UI components for better user experience 2025-05-12 14:45:02 +08:00
26d3998a70 feat: enhance localization by adding new app strings and descriptions; implement sources window for news sources display 2025-05-12 13:53:11 +08:00
3f60015b82 Add icon. 2025-05-12 11:31:19 +08:00
b8e5981947 Make it NOT laggy and done some basic login stuff. 2025-05-12 11:18:21 +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
ee13960f0b hey rob, please get the fuck out, and stop pinging @birds commit: feat: remove unused components and layouts, add error handling page, and update navigation links
- Deleted unused `headlines.vue`, `admin.vue`, and `newsorg.vue` layouts.
- Consolidated `newsOrgAbout` functionality into a single `newsOrgAbout.vue` component.
- Added error handling page with dynamic error messages.
- Updated navigation to include a new "Learn More" link.
- Adjusted translations for "Learn More" in both English and Traditional Chinese.
- Increased dimensions for the "Hot News" app window.
2025-05-12 10:06:54 +08:00
3c3b65c18e Made a warning bomb and also is super laggy. 2025-05-12 09:28:46 +08:00
542a22f168 feat: refactor login and hot news components; integrate DraggableWindow for dynamic window management in desktop layout 2025-05-12 09:15:54 +08:00
163f613058 Intergr 2025-05-12 06:41:43 +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
8b07d4b3be 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
3c1eb8176b feat: enhance README and index.vue with additional inspired sources and interface definitions 2025-05-11 20:54:48 +08:00
ba503a413e Remove clerk from packages. 2025-05-11 18:27:54 +08:00
8adacc6c93 Remove clerk. 2025-05-11 18:24:18 +08:00
82543fc2f7 Switch to working docker-compose for deployments 2025-05-11 18:09:41 +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
c68606ffbe feat: update environment setup scripts and enhance animation styles 2025-05-11 16:48:29 +08:00
dc30310cfe After a few hours debugging css, It finally looks really good, like xfce :D
refactor: update localization files and remove unused login page
2025-05-11 16:32:10 +08:00
ed383d6404 feat: implement login functionality with GSAP animations and dynamic menu 2025-05-11 15:13:01 +08:00
dd61937945 feat: integrate Sentry for error tracking and performance monitoring
- Added Sentry module to nuxt.config.ts and configured it for both client and server.
- Updated package.json to include @sentry/nuxt dependency.
- Created sentry.client.config.ts and sentry.server.config.ts for Sentry initialization with appropriate settings.
- Adjusted route rules and added additional configurations in nuxt.config.ts.
2025-05-11 14:40:22 +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
92a0358744
Edit docker-compose. 2025-05-10 11:30:27 +08:00
srv1-54
69db408fe2 Add working docker & docker compose. 2025-05-10 10:26:32 +08:00
e6b2bf3cbe feat: add groq-sdk integration for news summarization and enhance routing 2025-05-10 08:14:26 +08:00