Midnight Pub

My midnight.sh


I changed midnight.sh to post the contents of a file which is given as first argument, instead of from stdin. Run like "bash ./midnight.sh post.txt ". The file should contain: title, one blank line, body.

--form-string instead of -F to read the text as literal; I had some problems with semicolons read as field seperators in the posting form

Haven't gotten to the reply and thread options yet.

Write a reply


~zampano wrote (thread):

If I'm reading this right, it's also loading your login credentials from a local file?

Proxied content from gemini://midnight.pub/posts/381.
Get a proper gemini browser and visit!
merveilles webring (external content)

Gemini request details:

Original URL
Status code
Proxied by

Be advised that no attempt was made to verify the remote SSL certificate.