226 words
1 minute
I made a Guestbook

In my constant need to improve my website and do webweaver things for fun, I made a guestbook!

Instead of being normal and creating a guestbook with one of the many providers1, I created my own!

I made the repo public this time, since it doesn’t contain any sensitive data. If you want to use it, all you need to do is clone this repo and import it as a project into Netlify. Then create an “ADMIN_PASSWORD” environment variable, and set a password value. After that, you can update the title and links on the index page, and you’ll be ready to roll!

It will store guestbook entries as a json file in a blob, and then retrieve it when someone loads the page. As long as Netlify Blobs and Serverless Functions are free, this guestbook will be free to use too! Best part is that blob-usage doesn’t count against your build minutes.

It does use a lot of javascript, but that was the only way I could get it to be dynamic while on “static” hosting. This honestly wasn’t too hard, and it makes me wonder how much money the other services charge for such a simple thing.

naivchan
/
guestbook
Waiting for api.github.com...
00K
0K
0K
Waiting...

If you would like to sign it, you can sign it here: https://gb.pomnavi.net


Footnotes#

  1. There are some excellent providers and tools like: AtaBook, SmartGB, Kalechip’s Guestbook Script, GroundedWren’s Guestbook Code, and Ayano’s Comment Widget.

Comments

Comments are fetched from the Fediverse. You can join the conversation by replying to this post on Mastodon. New replies will appear here after the next site rebuild. If you don't have a fedi account, you can send me your comment here.

0 Replies 0 Boosts Likes
No comments yet.