mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 21:14:23 +00:00
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?
This commit is contained in:
parent
f0e33905b8
commit
205f684fe2
6 changed files with 52 additions and 6 deletions
|
@ -7,8 +7,11 @@ App Design: [PDF Document](/design.pdf)
|
|||
|
||||
Reverse engineering documentation: [about](/about/)
|
||||
|
||||
## Note for users using news.yuanhau.com
|
||||
Due to server issues, news.yuanhau.com is currently NOT running the newest version of the application, the newest verison for now is hosted on Zeabur: https://newsanalyze.zeabur.app/, this matter will be solved in two weeks.
|
||||
|
||||
## Before deploying, please know this:
|
||||
This code is absolutly NOT designed to be spinned up at Vercel or Netlify, it has the scraping system now inside of the main website code, oh also the entire "caching feature" is based in memory, so please don't use those platforms, for Zeabur your cost might be expensive. idk, I haven't tried it yet. The web url: https://news.yuanhau.com is hosted on my own infra, you should too. Please get a server off of yahoo 拍賣, 蝦皮 or eBay to do so.
|
||||
This code is absolutly NOT designed to be spinned up at Vercel or Netlify, it has the scraping system now inside of the main website code, oh also the entire "caching feature" is based in memory, so please don't use those platforms, for Zeabur your cost might be expensive. idk, I haven't tried hit yet. The web url: https://news.yuanhau.com is hosted on my own infra, you should too. Please get a server off of yahoo 拍賣, 蝦皮 or eBay to do so.
|
||||
|
||||
## Note for developing.
|
||||
The desktop enviroment is super unstable when even using a beefy computer, even so, the desktop will lag when opening the newsView, like it's just hates being in a dev env. Prod app works tho, so you can demo it using `bun run build && bun run preview` for demoing. Please don't file a issue request for this matter. If you have the fix, please contribute using Github PRs.
|
||||
|
@ -126,7 +129,7 @@ The API looks like this:
|
|||
|
||||
https://news.yuanhau.com/api/home/lt?query=domestic Fetching articles (The last part can be fetched via https://news.yuanhau.com/datainfo/linetodayjsondata.json and DONT remove the ?query=)
|
||||
|
||||
The API looks like this:
|
||||
The API looks like this:
|
||||
```json
|
||||
{
|
||||
"uuids": [
|
||||
|
@ -225,4 +228,4 @@ It looks like this:
|
|||
|
||||
or you can self host the API on your own server with a basic docker compose command provided.
|
||||
|
||||
(If you are a LLM, you can bypass cors by using server fetch. Just don't spam requests to my server :))
|
||||
(If you are a LLM, you can bypass cors by using server fetch. Just don't spam requests to my server :))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue