48 Commits

Author SHA1 Message Date
af8e97ab17
Merge pull request #11 from hpware/snyk-upgrade-1803123c9c771449d05a98eacf27dd0a
[Snyk] Upgrade groq-sdk from 0.22.0 to 0.23.0
2025-06-23 07:48:58 +08:00
snyk-bot
f61cfc7afd
fix: upgrade shadcn-nuxt from 2.1.0 to 2.2.0
Snyk has created this PR to upgrade shadcn-nuxt from 2.1.0 to 2.2.0.

See this package in npm:
shadcn-nuxt

See this project in Snyk:
https://app.snyk.io/org/hpware/project/87683307-fe2e-4cc5-ab03-68f884a73ad5?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-06-20 09:54:29 +00:00
snyk-bot
ea2223b6a8
fix: upgrade groq-sdk from 0.22.0 to 0.23.0
Snyk has created this PR to upgrade groq-sdk from 0.22.0 to 0.23.0.

See this package in npm:
groq-sdk

See this project in Snyk:
https://app.snyk.io/org/hpware/project/87683307-fe2e-4cc5-ab03-68f884a73ad5?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-06-20 09:54:25 +00:00
b5217e04fe Update slug system & upgrade packages. 2025-06-15 09:28:26 +08:00
37c899f9ef
Merge pull request #8 from hpware/snyk-upgrade-26f45c6eff5d97528ce76fe20c527314
[Snyk] Upgrade groq-sdk from 0.21.0 to 0.22.0
2025-06-13 19:23:45 +08:00
snyk-bot
25c233b5e3
fix: upgrade groq-sdk from 0.21.0 to 0.22.0
Snyk has created this PR to upgrade groq-sdk from 0.21.0 to 0.22.0.

See this package in npm:
groq-sdk

See this project in Snyk:
https://app.snyk.io/org/hpware/project/87683307-fe2e-4cc5-ab03-68f884a73ad5?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-06-13 11:05:57 +00:00
snyk-bot
664ca9813a
fix: upgrade lucide-vue-next from 0.508.0 to 0.511.0
Snyk has created this PR to upgrade lucide-vue-next from 0.508.0 to 0.511.0.

See this package in npm:
lucide-vue-next

See this project in Snyk:
https://app.snyk.io/org/hpware/project/87683307-fe2e-4cc5-ab03-68f884a73ad5?utm_source=github&utm_medium=referral&page=upgrade-pr
2025-06-13 11:05:54 +00:00
dd39bc3910 Add version tag system, for matching if the deployment is the newest one
or not.
2025-06-08 21:36:37 +08:00
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
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
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
7b46cc7e6f Add docs :) 2025-05-20 15:22:35 +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
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
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
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
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
f17aea24cd feat: enhance Dockerfile and docker-compose for improved build output handling and service configuration 2025-05-09 23:13:30 +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