Another Micro.blog tool from @timapple, this one is for blogging from the command line. The year of micro apps.
Another Micro.blog tool from @timapple, this one is for blogging from the command line. The year of micro apps.
@manton thanks for sharing, itās not super fancy, but for a quick blurb while working itās handy.
@drose We used to have a help page for third-party apps, but itās stale now. Would be good to have a place for app links, or a formal directory like plug-ins.
@timapple You might want to add to the instructions that you have to install Go before you can run go install! I used brew install go, but Iām on an ancient version of Mac OS, so it built it from source, which took ages. It worked, though.
However, after I ran go install I donāt have the mb command. Not sure whatās gone wrong. There were no error messages.
@devilgate you on a mac? Iām not sure if mac version would work because I didnāt plan on it, github built the package.
@devilgate sorry I re-read this, you are on Mac. those builds were more experimental. I donāt own a Mac to test on or troubleshoot. Iām sorry, it was sort of a tease. I just updated the readme to say itās Linux only for now on.
@devilgate Strange, though, that everything seemed to work, except installing the actual command.
@timapple And, digging a little deeper (Iāve never used Go before): go run mb works. I get the prompt to set up my token. So with a little judicious aliasing I should be able to make it work.
@devilgate that is good to hear. The code should in theory always work, I just canāt support Mac. So, if there are future updates there my be some jiggering needed to get it going, but should work.
@timapple FWIW, the Darwin binaries built by GitHub work for me. These binaries are not notarized, so you need to jump through the system hoops of allowing unsigned binaries. If you wanted to go the whole nine yards, youād need to pay for a Developer account ($99/year) to do the notarization dance.
@timapple If you do decide to go that route, ChatGPT honestly spits out pretty decent instructions on how this can be automated with GitHub actions. You could even make a Homebrew tap repo to allow Mac users the ability to install via Homebrew. Not asking, just saying itās possible depending on your intent. Either way, thanks for making and publishing a cool tool!
@groomsy thanks for sharing, its all just hobby stuff for me, and Iām a linux/android guy, I donāt have it in me to give Apple $99 a year to tell me what to doā¦lol
@groomsy thanks again for the info.. it is Go, so itās pretty easy to just compile it. Iām not sure how many Mac users would be doing MB posts from the terminal anyway.
@timapple Iām a Mac user who does a lot in the Terminal and Iām interested in posting to MB via CLI, so there is at least one. š I, however, can also compile from source or jump through the hoop to trust the binary, so no worries. I just wanted to let you know the binary that GitHub built does work.
@timapple I wound up taking a slightly different path. I spend a lot of my day in Claude Code in the mac terminal and actually do my micro.blog bookshelf updates via an MCP server I wrote and deployed. That MCP server just has a series of tools that connect to the API.
@groomsy Sounds good. I may do it some day, I am naturally fairly lazyā¦lol Thanks for the feedback
@7robots that sounds cool. What are you connecting the MCP server to? you have a spreadsheet of books you read locally?
@timapple well, I got rid of goodreads a while back, so I now use micro.blog as my āsystem of recordā for my books database. As such, the MCP server really just allows me to manage my books via natural language: add book X to āwant to read,ā move book Y from ācurrently readingā to āfinished.ā that sort of thing.