News for hackers. Stuff that matters.
Re:A terminal-based workflow for research, writing, and prog... by kody on Thursday December 03, 2020 @09:30PM (#25298254)
Very nice! I've tried to switch over to a terminal-based workflow but Qt Creator, VS Code, and Firefox for Atlassian products have been the main holdouts for me. I can't see myself moving away from Qt Creator, but I would kill for an ncurses app for editing Confluence pages and reviewing pull requests without 1200ms between every. single. click.

At the very least this article has given me the itch to dust off the old dotfiles and start fiddling with zsh again!

Re:A terminal-based workflow for research, writing, and prog... by desmap on Friday December 04, 2020 @05:44AM (#25300958)
VS Code is very good at connecting to remote servers/wsls/etc being just a dumb client. I still use VS Code next to all my terminal apps because some stuff is unmatched in VS Code, eg Pythons Interactive Console paired with a Jupyter server (1000x better than any notebook).
Re:A terminal-based workflow for research, writing, and prog... by SabbathHex on Thursday December 03, 2020 @10:06PM (#25298446)
Re: Confluence. I was at the same point about a year ago and wrote a small python script that posts pages that I write locally in vim to Confluence:

https://github.com/SabbathHex/confluence_poster

The downside is that due to Atlassian limitation and phasing out of wiki markup it's not possible to retrieve articles from Confluence. This script is not suitable for collaborative editing of the same page.

Script is quite ugly, but gets the job done.

Re:A terminal-based workflow for research, writing, and prog... by kody on Thursday December 03, 2020 @10:41PM (#25298620)
I wrote a Python script to post Markdown files to Confluence but ran into similar problems with retrieving and editing existing documents.
Re:A terminal-based workflow for research, writing, and prog... by lenkite on Friday December 04, 2020 @06:02AM (#25301053)
This uses the confluence API and does not simulate the web-ui right ? Our admins disabled API access to confluence sadly.
Re:A terminal-based workflow for research, writing, and prog... by thecedarprince on Thursday December 03, 2020 @11:00PM (#25298730)
Thanks for the kind words kody! Hopefully my linked dotfiles in the article can help out with that. :)