👋 Welcome :)
I made this blog with a cool static site generator called bearclaw, try it out!
if you want to make changes to bearclaw or rename it and make it your own thing, that’s totally fine, and encouraged. here’s how you can build the bearclaw
program from its source code.
what does this mean?
in very simple terms: when people say ‘source code’ we just mean a document with human words that tell the computer how to do something. when you ‘compile’ the source code, it means we use a helper program that can take those human words and translate it into machine language.
but, why recompile?
here’s a brief list of reasons you’d recompile:
bearclaw
that is driving you crazychocolate-glazed-kruller
and tell your friends you 100% wrote it yourself ;)if you don’t know what these words mean, don’t worry about it. in normal operation, or even when things go wrong, recompiling will never be something you’re told to do unless you really just want to. if this intimiates you, that’s totally fine, you don’t have to know this.
download: https://go.dev/
install Go and that’s about it
it takes about 5 seconds to re-compile
right now it is about 10-20 seconds on my laptop using low-power battery mode to compile a fresh copy the first time, and about 2-5 seconds each time after. on an ancient computer, without SSD, maybe 30 seconds.
get a copy of bearclaw sourcecode (.zip file or tar.gz) from the github releases page: https://github.com/donuts-are-good/bearclaw/releases
extract bearclaw source code to a folder anywhere.
the build process only creates a single file called bearclaw
in the same folder as your source code and won’t touch anything outside of the folder.
in the files you just extracted, you’ll see a bunch of .go
files and some folders. disregard all of that and just type go build
as a command in that folder using your terminal.
*note: the terminal is the black box with white text thing. you need to be in the folder with the .go
files before this will work.*
bearclaw
or on windows, bearclaw.exe
if you need help, there is a way to submit a request for aid called “issues”. leave a message here and someone will respond.