83 Commits

Author SHA1 Message Date
3ebaff5218 it works rn ig? 2025-06-02 14:43:13 +08:00
8eb19d7242 Made a simple custom groq api thingy (just the settings page) 2025-06-02 11:33:48 +08:00
5392974261 A publisher api. & modded the news.vue file to use the publisherId instead of the name. & cleaned the code using prettier. 2025-06-02 00:47:23 +08:00
1dd324e0ca Got the news id system working. Oh wait, this should be in the tab system... 2025-06-02 00:27:12 +08:00
ce1d150c11 Do text-center in copyright in about && add testing data. 2025-06-01 23:45:59 +08:00
f1f47eb4a8 Made the api page & mde the login page store the tokens. 2025-05-30 17:25:51 +08:00
c5c614c75d Remove legacy component & Update validating system using localstorage. 2025-05-30 15:49:59 +08:00
1453132a63 Add image into the newsView & Update README.md & prettier & update news analzye view. 2025-05-28 11:59:04 +08:00
c66b9cde13 Fix stupid bugs that prevent the code being deployed. 2025-05-27 22:16:15 +08:00
cb34764c27 Get UpdateAt & PublishedAt and remove testing comment. 2025-05-27 22:06:42 +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
a998a99901 Make a super simple shortforward.ts system for yhw.tw/news 2025-05-27 14:33:05 +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
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
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
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