Ancestors

Toot

Written by Ron Gilbert, Esq. on 2025-01-15 at 08:28

I've decided to host my Hugo site on my own server. I need the server for other reasons, so it's not cost me anything extra. I can copy the Hugo public files to my server with rync. It takes about 2 seconds. I built it into my git push workflow, so there is no extra work on my part. It also gives me flexibility in how I host images, etc.

=> More informations about this toot | More toots from grumpygamer@mastodon.gamedev.place

Descendants

Written by Josh Simmons on 2025-01-15 at 08:33

@grumpygamer yeah I do this also :') I have deploy.sh in the repo (not that I ever deploy anything)

=> More informations about this toot | More toots from dotstdy@mastodon.social

Written by Paul Fisher on 2025-01-15 at 09:01

@dotstdy @grumpygamer Same. Have a runlocal.sh which starts a local Hugo for writing, and a deploy.sh which does a sync to my server when I’m ready to publish. Simple 👍

=> More informations about this toot | More toots from psfshr@mastodon.me.uk

Written by Gabriele Svelto on 2025-01-15 at 09:01

@grumpygamer I do the same with my Nikola blog. Static generator + rsync is a fantastic combination if one can manage a server. Nothing's simpler and more performant than that.

=> More informations about this toot | More toots from gabrielesvelto@fosstodon.org

Written by Daniel Saidi on 2025-01-15 at 09:16

@grumpygamer Nice! I host everything on GitHub, which is completely free and surprisingly fast.

=> More informations about this toot | More toots from danielsaidi@mastodon.social

Written by Iketani on 2025-01-15 at 09:23

@grumpygamer Not sure if you saw already, but yesterday there was a new version released to solve some security problems with rsync: https://download.samba.org/pub/rsync/NEWS#3.4.0

=> More informations about this toot | More toots from Iketani@bsd.cafe

Written by Dek 👨‍🚀🐧🚀 ( on 2025-01-15 at 09:32

@grumpygamer

Oh! Rsync integrated in push is not a bad idea at all! I might copy you

=> More informations about this toot | More toots from portaloffreedom@social.linux.pizza

Written by Andrea Grandi 🦕 on 2025-01-15 at 09:40

@grumpygamer I humbly suggest to put it behind Cloudflare (free plan is enough, that's what I'm using) because if one of your posts goes viral, it may cost you additional money for the traffic (but it depends on the host you use) or slow down everything.

=> More informations about this toot | More toots from andreagrandi@mastodon.social

Written by Perroboc on 2025-01-15 at 11:10

@grumpygamer given the latest CVEs, you might want to check out some alternative to rsync like Unison

=> More informations about this toot | More toots from Perroboc@mastodon.gamedev.place

Written by Bernd Kilga on 2025-01-15 at 11:16

@grumpygamer Yes! that's the best way. Automation via CI sounds always so fancy, but web-hooks can and do fail and then you're sitting there, waiting for a dead robot. A local trigger gives instant feedback.

=> More informations about this toot | More toots from console@dosgame.club

Written by C:\INETPUB\FELSQUALLE on 2025-01-15 at 11:20

@console @grumpygamer That’s the exact reason why I deploy my Hugo site with Reyna as well after building it locally - I have a second step involved, so deployment is separated from development.

=> More informations about this toot | More toots from felsqualle@manitu.social

Written by Räucherkäse on 2025-01-15 at 17:31

@grumpygamer Weren't you also concerned about performance? I hope your server is up to the task!

That being said, static hosting is not only easy on the CPU, but also easy to scale out.

=> More informations about this toot | More toots from smochi@sakurajima.moe

Written by Ron Gilbert, Esq. on 2025-01-15 at 20:28

@smochi My server has delivered a bloated php built site for years and weathered it just fine, this has to be faster. The site is paginated so it's not downloading 100% of the content all the time. I'm going to set up the images to go though a CDN as well.

=> More informations about this toot | More toots from grumpygamer@mastodon.gamedev.place

Written by steppl on 2025-01-15 at 20:13

@grumpygamer

Maybe worthit to keep #rclone in mind. This one can be considered as "rsync for cloud".

=> More informations about this toot | More toots from steppl@mastodon.social

Written by Ron Gilbert, Esq. on 2025-01-15 at 20:29

@steppl I use rclone for doing backups, but in this case rsync seemed easier.

=> More informations about this toot | More toots from grumpygamer@mastodon.gamedev.place

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113831425197154839
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
328.207657 milliseconds
Gemini-to-HTML Time
3.098485 milliseconds

This content has been proxied by September (3851b).