💾 Archived View for midnight.pub › posts › 808 captured on 2023-03-20 at 20:00:56. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2022-04-28)
-=-=-=-=-=-=-
I have put together a simple emacs lisp script to enable one to post and reply
to midnight pub from the confort of emacs, I plan on making it a minor-mode for
Elpher, but for now all you have to do is call one of the three provided
functions from the buffer where you wrote your post: mpub-post, mpub-reply,
mpub-reply-thread. In the case of the first the post title is the name of your
buffer without the file extension, and for the latter two you will be prompted
for the post id to reply to.
https://git.sr.ht/~mathgamain/emacs-mpub/tree/main/item/mpub.el
The same way as with the shell script provided by ~m15o, you have to put your
midnight pub cookie on ~/.config/.midnight
gemini://midnight.pub/posts/263
Also, it depends on request.el:
https://github.com/tkf/emacs-request
Hope you enjoy it!
Hello, this reminds me, that I never got midnight.sh to work. So I log in via Firefox, I find said session cookie in
"Hamburger Menu" > "More Tools" > "Web Developer Tools" click on Storage. I click on the line starting with "midn" "some_long_garbage" ... Well, excuse me, but what exactly goes into the file? Just one line? Three? More?
midn="some_long_garbage"
With quotes? anything missing? Does it need the two following empty line?
midn="some_long_garbage";"";""
or something such?
Just put the cookie into that file, I hear you. But I'm clueless.
~bartender? How about some more of that moonshine out of that cupboard? Thanks.
You might like textboard.org. It's written in MIT Scheme.
This is incredible, thank you ~uirapuru!