49 Commits

Author SHA1 Message Date
7314a5fa8a Remove exploitable plugin
(google-translate-api) use translate instead
2025-06-06 15:08:27 +08:00
bae0d3b8dc Add traslation plugins & add loadUserInfo to get pref lang & the
translate provider & which windows can use the translate feat or not.
Not sure how can I intergrate it tho 🤔
2025-06-06 15:00:05 +08:00
7ad8caeed8 Missing files from last commit. 2025-06-04 00:38:56 +08:00
205f684fe2 Update README & used the wrong js-confeti package & removed axios, as it
is just node fetch w/ support for older devices? Also the news org pic
is not avaiable, because it is rendered onMounted, not server rendered &
confeti feat?
2025-06-04 00:38:32 +08:00
f0e33905b8 Change to axios as there is no way to get the profile pic via the raw
html & remove the legacy hot news by google rss window, (it is still
accessable via the tty interface) and update i18n with the aboutNewsOrg
thingy added articles (that currently does not work) & also added the
privacy policy & tos page, both only accessbile via the tty interface
for now. It will be avaible via the settings interface.
2025-06-03 16:40:25 +08:00
dcf1b7db66 Cleaned a few packages up for server deployment. 2025-05-30 17:36:53 +08:00
41e12eb42b Remove unneeded plugins. 2025-05-30 15:54:34 +08:00
20006fff15 Update fix, aka I forgot to use === instead of = and also forgot to add a param... also the issue is still not fixed, I guess it is in the newsView component or the desktop openNews function? 2025-05-30 00:41:55 +08:00
fe965e84a5 Finish TTY 2025-05-29 16:33:12 +08:00
10158a390c Add logic to store hidden windows. 2025-05-29 10:27:48 +08:00
1453132a63 Add image into the newsView & Update README.md & prettier & update news analzye view. 2025-05-28 11:59:04 +08:00
fe026214dc Add a new script to purge the dev env, as Nuxt is super unstable. & update some lang stuff. 2025-05-27 15:39:33 +08:00
db0c0a3c25 Add shadcn/ui tooltip UI && modify from the entire block being a button to just a button (the news publisher is also buttonm the tailwind tooltip is just for the news publisher plubin ) 2025-05-27 15:14:49 +08:00
a09416db53 Enhanced the user page (prev login page) Added translations into the Tools subpage of the wbesite && added a basic check (that I have not tested yet in my dev enviroment,) 2025-05-27 14:17:45 +08:00
9accdb28c1 Update staticid system for viewing news. 2025-05-26 23:56:21 +08:00
62833af4ae Why the fuck is nuxt so laggy? I can't even do live changes. 2025-05-22 17:21:32 +08:00
004028d7b5 Install some stuff. 2025-05-21 10:20:41 +08:00
f8879b307c Switch to a different algroithm. 2025-05-21 10:20:33 +08:00
5c64ae08bf Made a really basic script that runs the vitepress proccess. 2025-05-20 15:31:59 +08:00
ba1b3afa6f Make a poc for the api for line today & made some docs for myself and
others so others also can use the api
2025-05-20 14:49:50 +08:00
edd8e5b05a Learn some basic algorithms via
https://github.com/trekhleb/javascript-algorithms?tab=readme-ov-file
super cool repo! This algorithm will just run on the client, if it isn't
my server will blow up :( Maybe I will just make a postgres db that
sends the users processing info to save other users processing power?
2025-05-19 13:59:10 +08:00
23295ff590 Test docs & made the default windows size to be bigger. 2025-05-19 01:01:26 +08:00
8975812447 Make the news View working via the tty interface, and made some more
i18n stuff & update some more to add images and unknown data oh, also
paragraphs are now a thing :) and do so much debugging.
2025-05-18 13:12:39 +08:00
0bcb646cc0 Archive the jssoup one for now 2025-05-18 11:02:32 +08:00
5f78e8c58a Mainly make the python code to make it javascript for nuxt to access.
Python is just used for testing stuff, as it is a fine lang to do so.
2025-05-18 09:28:08 +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
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
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
b8e5981947 Make it NOT laggy and done some basic login stuff. 2025-05-12 11:18: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
ba503a413e Remove clerk from packages. 2025-05-11 18:27:54 +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
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
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
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
5f897f1bd0 test rss? and made some more files. 2025-05-07 23:23:33 +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
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