67 Commits

Author SHA1 Message Date
c66b9cde13 Fix stupid bugs that prevent the code being deployed. 2025-05-27 22:16:15 +08:00
5dc5018aca Add AI friendlly README for other people to reuse apis. and added one time fetch the api so the server doesn't break. Also make the newsView more prettier. 2025-05-27 21:13:16 +08:00
417630bcd8 Add ToolTip to the news & home page components. 2025-05-27 15:30:16 +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
eb6c131163 Got the basic login system working :D 2025-05-27 13:27:02 +08:00
7057f8293d Update docs. 2025-05-27 09:36:44 +08:00
a4ccad0989 Add tailwind scrollbar && Loading logic? 2025-05-27 09:02:05 +08:00
9accdb28c1 Update staticid system for viewing news. 2025-05-26 23:56:21 +08:00
58de2c670d Add caching into the tabs system & change routes 2025-05-26 10:57:54 +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
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
79e133c167 Update tab system & Made a basic Loading Screen w/ transitions 2025-05-25 09:11:10 +08:00
f34da9f5c1 Add a basic news view page. 2025-05-25 00:13:49 +08:00
4b7934552c Create the new settings and news window files & starting to fix the chatbot component 2025-05-24 14:55:42 +08:00
109a39f6e9 Remove some files & trying to make the desktop look more fun & I'm going
to sleep now.
2025-05-22 00:09:01 +08:00
c8429ee1a3 Update slug stuff. 2025-05-21 11:58:13 +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
d9c6cec16e Made the animation working again :) 2025-05-18 23:46:14 +08:00
a5a3519111 Update docker compose & move the desktop to the root, as it is better if
I ever wanted to make the UI more basic and blander (for normal ppl)
2025-05-18 23:16:22 +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
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
a89fbd4fd7 Add a login wall on a few windows, but still no auth / login logic
yet...
2025-05-17 20:50:23 +08:00
020251c706 Fix the code of conduct file name
&
Update the UI of the ChatBot, it is still a work in progress tho
2025-05-16 23:39:15 +08:00
f7e9d4a28b Add chat interface and implement basic message sending 2025-05-16 20:40:51 +08:00
c45a5ea285 Compeleted the language changing feat.
And updated the assets url to be /_assets/ instead of /_nuxt/
2025-05-15 22:31:50 +08:00
a1aecb4623 Add about & help message 2025-05-15 20:51:48 +08:00
99cfa4957f Add some more basic functions into the terminal. (the TTY interface).
Awesome.
2025-05-15 14:46:18 +08:00
5c64018601 Making basic tty execute command.
For testing, use `execute hotnews` :)
2025-05-15 14:19:21 +08:00
a94b6fbb79 Add basic cli stuff. 2025-05-15 14:04:16 +08:00
ef163b6174 Made a basic TTY system. 2025-05-15 11:37:55 +08:00
62ecea8aa3 Fix some chatUI stuff. 2025-05-15 11:10:49 +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
e4d2b4840a It works now :D 2025-05-14 22:10:31 +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
878ac4f1a6 Add news source data CSV file with various Taiwanese media outlets 2025-05-14 15:00:14 +08:00
d6fb71d460 still broken chatbot. 2025-05-13 23:09:11 +08:00
784b45451e feat: add Input component and integrate it into chatbot; enhance chatbot layout with new message input 2025-05-13 22:38:15 +08:00
5803207451 Refactor code structure for improved readability and maintainability 2025-05-13 20:43:39 +08:00
157713ed24 Loadvalue object for things 2025-05-13 16:37:56 +08:00
4c7f9b47d0 Tried to add keyboard shortcuts, it's awful... feat: add terminal window component and about news organization window; update localization for terminal; refactor database connection in hot_articles.py; remove sources.vue 2025-05-13 16:33:06 +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
34a0868b26 Remake the home page. 2025-05-13 14:14:50 +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