💾 Archived View for m15o.midnight.pub › midnight-sh-man.gmi captured on 2023-01-29 at 16:28:11. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-03)
-=-=-=-=-=-=-
midnight(1) General Operation Manual midnight(1) NAME midnight - virtual pub SYNOPSIS midnight [options] DESCRIPTION midnight allows you to write on midnight.pub, a virtual pub. midnight needs your session token in ~/.config/.midnight to function. To get it, connect on midnight from the web and copy the content of the session cookie in the above file (create it first). When used with no option, midnight uses the content of stdin to create a new post. NEW POST midnight reads data from stdin. It parses stdin the following way: First line will be used as the title. Second line needs to be left blank. Third line and what follows is the content. echo "Hello world!\n\nThis is my new post." | midnight OPTIONS -r <post id> Send the content of stdin as a reply to <post id>. For example, to answer to post 42: echo "good question!" | midnight -r 42 -t <reply id> Send the content of stdin as a reply to a reply (thread). For example, to answer to a reply with id 48: echo "I enjoy your reply!" | midnight -t 48 LINKS midnight can be accessed in different ways: Web https://midnight.pub Gemini gemini://midnight.pub AUTHORS m15o 1 MAR 2021 midnight(1)