32 Commits

Author SHA1 Message Date
383ad2e467 Make some basic checking /wo the database for now. 2025-05-17 21:08:58 +08:00
a89fbd4fd7 Add a login wall on a few windows, but still no auth / login logic
yet...
2025-05-17 20:50:23 +08:00
ef163b6174 Made a basic TTY system. 2025-05-15 11:37:55 +08:00
94fbf1551d Add support for database backups and enhance UI elements
Updates UI components and gitignore rules for database backups, adds
Facebook links to news org window, and improves desktop window title
handling.
2025-05-15 10:54:39 +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
f5734e7e5d Fix SQL errors. 2025-05-13 23:20:38 +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
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
eaa9b15b2d Clean the code via prettier. 2025-05-12 21:05:45 +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
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
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
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
e6b2bf3cbe feat: add groq-sdk integration for news summarization and enhance routing 2025-05-10 08:14:26 +08:00
1208866757 feat: implement go_links table and update database connection handling 2025-05-10 06:55:28 +08:00
e081c54624 feat: update footer link formatting and add shadcn-nuxt integration
- Refactored footer.vue to improve link formatting.
- Updated nuxt.config.ts to include shadcn-nuxt and added necessary HTML attributes and meta tags for SEO.
- Added new dependencies in package.json for class-variance-authority, clsx, lucide-vue-next, reka-ui, shadcn-nuxt, tailwind-merge, and tailwindcss-animate.
- Cleaned up unused template tags in headlines.vue, index.vue, and news/[provider]/[slug].vue.
- Simplified sources.vue template structure.
- Improved login.vue styles for better animation.
- Enhanced google.ts API handler for better error handling and code clarity.
- Updated find/newsOrg.ts to ensure consistent code style.
- Added CSS variables and improved Tailwind configuration in main.css and tailwind.config.js.
- Created components.json for shadcn integration and added new UI components (Alert, Button, Progress) with respective styles and variants.
- Implemented utility functions in utils.ts for class name merging and value updating.
2025-05-08 20:48:51 +08:00
a5af4c04f7 feat: restructure README, remove Google and Yahoo components, and implement hot news display 2025-05-08 14:06:35 +08:00
8198010268 feat: update Google RSS feed handling and improve template rendering 2025-05-08 07:25:11 +08:00
5f897f1bd0 test rss? and made some more files. 2025-05-07 23:23:33 +08:00
569cd087e7 Clean the awful code. 2025-05-07 10:53:14 +08:00
98ffbec764 feat: implement user authentication with GitHub OAuth, create database schema, and enhance navigation 2025-05-07 10:52:51 +08:00
d773473eb0 feat: enhance typography with new font sources, update footer layout, and improve navigation structure 2025-05-07 00:03:44 +08:00
2f20d49091 feat: integrate animate.css for animations, enhance layout, and improve localization files 2025-05-06 19:31:53 +08:00
6995c7f5d2 feat: update i18n configuration, enhance news organization page layout, and add logo URL 2025-05-06 16:34:35 +08:00
dce96b3a35 Refactor navigation bar styling, update localization files, and enhance news organization page
- Updated navigation bar styles for improved aesthetics and functionality.
- Added loading text to English and Traditional Chinese localization files.
- Enhanced the news organization about page with better layout and SEO metadata.
- Updated API response to include Facebook link for news organizations.
- Removed old Tailwind CSS configuration and styles, replacing them with a new main CSS file.
- Updated package.json to include new dependencies and scripts for better development experience.
2025-05-06 16:16:43 +08:00
391bd7df26 feat: integrate GSAP for animations and add Tailwind CSS support
- Added GSAP and ScrambleTextPlugin for text animations in navigation.
- Implemented locale switching in navigation component.
- Updated i18n locales for navigation links.
- Created a new layout for news organization pages.
- Removed unused index page and added home page with greeting.
- Implemented dynamic fetching of news organization info with API.
- Configured Tailwind CSS and added necessary plugins.
- Updated nuxt.config.ts for routing and site metadata.
2025-05-06 14:52:42 +08:00
3ccb186530 feat: add internationalization support and update layout
- Added i18n module to nuxt.config.ts with English and Traditional Chinese locales.
- Created locale files for English, Traditional Chinese, and German.
- Updated default layout to use script setup syntax.
- Modified index page structure for future content.
- Implemented API endpoint for object storage file redirection.
- Removed unused CORS middleware.
- Created a new feed route handler.
2025-05-06 10:04:51 +08:00
8955fce368 feat: add S3 configuration and update project structure 2025-05-06 09:43:26 +08:00
330c92a432 chore: update nuxt configuration and add new modules
- Changed compatibility date to '2025-05-06'.
- Added '@nuxtjs/robots' and '@nuxtjs/seo' modules.
- Updated package.json to include new dependencies for robots and SEO modules.
- Removed existing robots.txt file and created a new _robots.txt file.
- Created empty footer and navigation components.
- Added default layout structure with navigation, main content, and footer.
2025-05-06 09:29:13 +08:00
fe759b4456 Init 2025-05-06 09:19:48 +08:00