rayriffy-h
rayriffy-h copied to clipboard
Amazing project! I seem to have issues testing your project.
I never worked or even tries nextjs or nx, am completely new. Pardon my ignorance if I ask something childish or obvious.
How do I even run this!! What is the problem, does this not run with simple cmds like nx run, nx test or nx serve. It would be great if you show what needs to be done in order to run.test or build this after cloning your repo.
Why is this happening? Please correct me if am doing something wrong.
I tried with yarn and npm, still not working T_T
Sorry, I haven't look into this repository for a while. Those NX should not be in app/web-next
what you should do is to execute it proper Nx. and it's my fault to not update readme at all as well. and i have already moved to pnpm already so here's new guide for you.
.
At repository root, install dependencies with npx pnpm install
, then pre-generate page pagination with npx pnpm generateChunks
. and call npx pnpm nx build web-next
for development server
Yeah, thanks everything is working fine except this -
What is happening here, am not able to fix this. And also I was hoping to add a feature - 'download'.
That would work as simple "save as pdf". The total visible, collapsed, or yet to scroll content would be "saved as pdf" onclick.
react to pdf libs ain't working on this, are there nextjs libs or packages that would do this trick?
That error message are randomly occurred when NHentai API does not sent appropriate result, pls try latest commit on main branch I have streamlined all processed a lot. Now you would just run npx pnpm bakeData
before serve application and all gallery retrieving process will work on there instead.
.
I'm planning to make some solution like that soon, kinda idea is to be able to download gallery as pdf and optionally able send to Kindle, but kinda have trouble with free time to give into my personal project atm. Might be able to try again after New Year or December on best possible scenario.
Hey Riffy, i made a dowload button and few ui tweaks. i want to test deploy it o vercel but i think am doing something wrong there. I never worked with vercel before so i trued reading docs and all but it didn't help much.
i imported the git repo in vercel and tried build. The build failed with an error. Here is the log:
Am really sorry for being annoying. T_T
I tried again with npx cmds-
-
build cmd:
npx pnpm nx build web-next
-
install cmd:
npx pnpm install
With that, this time less errors occurred but this persists- NX ERROR Running target "web-next:build" failed
Nice that you updated the project, but what's up with the databases in env?
Hey, a lot of changes happened during this time. I've simplified tech stack back from monorepo to just regular Next project.
API has been moved to use API from Hifumin as well, and it has been protected with Cloudflare Enterprise. Even my pnpm build:data
command to prefetch all hentais already optimized with local file caching, but sometimes when you're deploying fresh from CI and has to fetch 1000+ hentais at the same time to API you could get into an issue with Cloudflare bot challenge response.
To reduce load, I spin-up my own database for local caching but it will be removed soon. Last few weeks I made it optionally to have DATABASE_URL
running with build:data
command but if you wanted to you could spin up your own Postgres database, properly configure connection URL and run pnpm prisma:deploy
once to generate database and tables.