2 ms·
HOWTO without CloudFlare, is it possible?
by davidcollantes 10mo ago
HOWTO without CloudFlare, is it possible?
- thunderbong 10mo agopnpm run build should do it
- davidcollantes 10mo agoThat creates `dist` with: 404.png .assetsignore _astro/ bread.png favicon.png favicon.svg jelly.png lock.png logo.png og-image.png pbnj.png peanut.png _routes.json styles/ _worker.js/ In it. What comes next?
- catapart 10mo ago- navigate to dist directory - run pnpm dlx http-serve - navigate to one of the provided ip addresses (this uses the tunnl.gg service and is not necessary for local network access) - [optional, for access via internet] run ssh -t -R 80:[provided ip address including port] proxy.tunnl.gg
- davidcollantes 10mo agoThat gave me some other errors. I am giving up. Thanks for helping!
- Numerlor 10mo agoFwiw if you want a simple pastebin, I've been running pinnwand for a couple years without any issues off of a single short docker compose file, I think running it on host also shouldn't be complicated
- mervz 10mo agoCrazy that people really need instructions on how to self-host stuff these days... this stuff used to be something most devs could figure out.
- deleted 10mo ago[deleted]
- som 10mo agoI use CloudFlare a lot for "self hosting" .. but I also run an old pi from home with Bun in place of workers. Suprisingly compatible and low lift. Not exactly "without CloudFlare", but for true compat you can probably also self host workerd itself which is open source: github.com/cloudflare/workerd
- bhavnicksm 10mo agoHey! Right now, some things are somewhat hard-coded to be Cloudflare compatible. If someone's willing, you can just deploy this without Cloudflare, but you'd need to dig into the code a little. In the future releases, I'll make it possible to host it on VPCs and release a Dockerfile along with it, so that should help a little. Thanks for checking the project out!