pull down to refresh

What to do: In your fork go to Settings → Pages. Under Build and deployment, set Source to GitHub Actions (instead of “Deploy from a branch”). Then the workflow runs on every push to main: it runs npm run build and deploys the built dist/ folder. Give it a minute or two after a push, then https://4g0r4.github.io/Zoop/ should load.

That's how is currently set: but in the log I can see there's no /dist folder built

Run npm run build

> zoop@0.1.0 build
> tsc -b && vite build

vite v7.3.1 building client environment for production...
transforming...
✓ 158 modules transformed.
rendering chunks...
computing gzip size...
dist/index.html                          1.14 kB │ gzip:  0.64 kB
dist/assets/index-BOgfiTc6.css           6.30 kB │ gzip:  1.94 kB
dist/assets/ErrorBoundary-Dk8HoutI.js    0.85 kB │ gzip:  0.52 kB
dist/assets/index-D6ovzhIu.js          145.35 kB │ gzip: 47.27 kB
dist/assets/App-DA9VGWZa.js            263.91 kB │ gzip: 87.84 kB
✓ built in 2.51s

Have also updated the fork and the errors are not coming up anymore. Just Loading Zoop… but is still not loading.

Hey, thanks for trying it out and for reporting this.

The repo doesn’t ship a dist/ folder on purpose (it’s in .gitignore), so you need to build it once before running. I updated the README.md to make that clearer.

To run it locally: after npm install, run npm run build (creates dist/), then npm run preview. Or simply npm start – that builds and starts the preview server in one go.
For development (with hot reload): just npm run dev – no build needed.

For GitHub Pages: in your fork, set Pages source to GitHub Actions (not “Deploy from a branch”). The workflow will build the app and deploy it; no local dist/ required.
Hope that fixes it. Let me know if something still doesn’t work.

reply

I found the issue... it was just the name of the repo, as I rename it all lowercase 'zoop'. Renaming it to 'Zoop' solved the issue. Thanks for your help, always learning

https://4g0r4.github.io/Zoop/

Now getting a new error:

Another question, how the receiving npub get notified or know about the fact that now can download the file?

reply