63 Commits

Author SHA1 Message Date
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
eaa925e5dd Debug the login system and it works :D (without the token store logic tho 2025-05-27 11:38:03 +08:00
9accdb28c1 Update staticid system for viewing news. 2025-05-26 23:56:21 +08:00
0ed7ca8f80 New Tabs, this includes the FULL caching feat, w/ a kill switch in the source code, if I want to test something when I don't want the data to be cached. & BLOCK unneeded info like expireMode is NOT OFF or the pageType is NOT GENERAL. 2025-05-26 11:39:19 +08:00
58de2c670d Add caching into the tabs system & change routes 2025-05-26 10:57:54 +08:00
5e676ad80f Test2 2025-05-26 10:20:50 +08:00
0c6f0cbcd8 Add basic open articles for future feat. & ran prettier & now fetches data from the cloud aka line today. 2025-05-26 10:17:12 +08:00
f3204cb574 Link the checks into the code & made a basic news summary system 2025-05-25 18:00:14 +08:00
aea658a4cb Add Nitro OpenApi Intergration && Update README 2025-05-25 10:01:23 +08:00
3019c06ec1 Add Time into the news system & Add a new API keypoint into the home page. 2025-05-25 09:49:35 +08:00
c2ec1b6668 Switch to a basic API endpoint to get tab info. 2025-05-25 09:27:58 +08:00
f34da9f5c1 Add a basic news view page. 2025-05-25 00:13:49 +08:00
11de0632ae Made a basic news summarizer. This is just to test in prod. 2025-05-24 01:04:15 +08:00
d21957a8f9 Made a basic AI chat streaming content, but there is still no auth yet,
should be added soon. And add the test file test.vue to be ignored. This
file is just a poc (it is AI generated based on my API file)
2025-05-23 22:51:19 +08:00
13c9b7ecc8 Forgot to push the main file :\ 2025-05-22 20:32:19 +08:00
a0c4d2317e Ok? It maybe works? 2025-05-22 20:31:50 +08:00
bb7ab3a088 Update more stuff, the shit fix is just rm -rf ing .nuxt .output 2025-05-22 18:13:55 +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
c8429ee1a3 Update slug stuff. 2025-05-21 11:58:13 +08:00
f8879b307c Switch to a different algroithm. 2025-05-21 10:20:33 +08:00
25927ad13c Add Line Today hybrid listing and additional filters
Fix excessive line wrapping and improve input text styling

(This commit message is AI generated)
2025-05-20 23:42:25 +08:00
62fa31ae4a Update some stuff & remove unneed code like python stuff, it is in the
web app.
2025-05-20 20:58:13 +08:00
bc9a63f6ab Add caching into the code to make it faster. 2025-05-20 20:14:29 +08:00
2d8628d0da Commit broken code. 2025-05-20 16:40:36 +08:00
0dfbdb4c91 Remove docs and added them back? And also made the return uuid thing
now an endpoint that can be logged & cached.
2025-05-20 16:29:55 +08:00
1680945186 Add a tools home page & update the json file with a bunch of ewww words
and of course, bypassed the login ui 😅
2025-05-20 09:33:26 +08:00
84c176ac09 Made some tools for basic users & also may or may not added a bunch of
nono keywords into the kidunfriendlycontent.json file. Oh, and most of
it is sourced from you guessed it LINE Today & Taiwan's garbage news
corps >_<
2025-05-19 22:59:55 +08:00
2495911a81 Make a demo? 2025-05-19 14:38:59 +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
fc7b835d68 Made a bunch of changes to the source code. And polish the deploying
process.
2025-05-18 16:59:03 +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
b62a3cda3d Add a few more database tables & made the api pull from the database
when then article exists & not ddos line today, Also made a basic
newsView with the api & the scraping script now scraps more stuff! :D
2025-05-18 11:59:58 +08:00
fe5e2d996e The Line Today scaper finally WORKS!! Now we just need make a UI for
it...
2025-05-18 11:13:25 +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
81012f5061 Made the line_today.py kinda work ig. But I have no idea how can I run
this without issues in prod tho. and the "BlurPageBeforeLogin" thing
works just file, oh and checkCookie is now working (but without the
database part just yet)
2025-05-17 23:31:55 +08:00
0e26a23261 Make a basic check date functon, and EVEN if the user does NOT have a
lastCheckCookie, they are forced to relog, as there is somewhat of a
risk it might be a bad attacker, also postgres has limits, and I don't
what to blow it all, so you need the lastCheck Cookie as is. (Yes this
is a super important commit :D
2025-05-17 21:22:48 +08:00
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
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
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