76 Commits

Author SHA1 Message Date
feb679c3ef Fix 2025-06-04 22:38:17 +08:00
8032c3faae Delete old components from a month ago? & Update draggable window to be using the native svgs by lucide icons & updated the news page to activate the tab changing animation when changing tabs & added caching into the [slug].ts file in publishers/lt & added a basic endpoint for searching for sources. 2025-06-04 22:30:02 +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
aa355e03fd Made validateUserToken avaible via get requests & updated the system so
that it now has a privacy policy & terms of service (TOS) And added a
add email & display current email logic.
2025-06-03 11:42:30 +08:00
45397675f5 Update settings page w/ deleting your account. and update translations. 2025-06-03 11:01:20 +08:00
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
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
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