Live data from Hacker News

Show HN: Frogmouth – A Markdown browser for the terminal

github.com

61–70 of 71 posts

Re: Show HN: Frogmouth – A Markdown browser for the terminal

#61
Could Frogmouth display Markdown cells in Jupyter Notebooks on the CLI?

FWIW, IPython is built with Python Prompt Toolkit and Jupyter_console is IPython for non-python kernels; `conda install -y jupyter_console; jupyter kernelspec -h`. But those only do `%logstart -o example.out.py`; Markdown in notebooks on the CLI is basically unheard-of.

Re: Show HN: Frogmouth – A Markdown browser for the terminal

#63

I'm a big fan of the Markdown Preview feature in VS Code Honest question: why do developers insist so much on using command line based tools? What's the advantage over using an IDE? (e.g. VS Code or PyCharm)

I use Vim because:

- works at the speed I think. It renders text quickly, responds to my keystrokes quickly, and lets me work my will quickly. That's nice when I have a lot to do or am inspired, which covers most of the time I'm coding

- It's open source and trustworthy. I'm not gonna wake up one day and find out a critical plugin I use is closing the source and making a change I hate, or that Vim itself was uploading my code to copilot, etc.

- It's basically a platform. You can do whatever you want in Vim, remap all the keybindings, make a music player, whatever.

- It's respectful of my computer's resources. It starts up almost instantly, and generally uses very little CPU and RAM.

Re: Show HN: Frogmouth – A Markdown browser for the terminal

#64

Nice idea! I’m excited to check it out. I write a lot of docs in Markdown and this could be a great way to browse them. Out of curiosity, have you seen glow[0]? [0] https://github.com/charmbracelet/glow

Since we're talking alternatives:

- https://github.com/swsnr/mdcat

- https://github.com/sharkdp/bat

Re: Show HN: Frogmouth – A Markdown browser for the terminal

#65

I would like to run VSCode with a TUI like this in a terminal via SSH. Does anyone know a VSCode extension to do this?

FWIU coc.vim works with vim and nvim and works with VSCode LSP support: https://github.com/neoclide/coc.nvim There are many LSP implementations: https://langserver.org/ awesome-neovim Ctrl-F "DAP": https://github.com/rockerBOO/awesome-neovim#lsp mason.nvim: https://github.com/williamboman/mason.nvim : > Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP se…

COC has been mostly deprecated for native LSPs also. I run ~same pyright I'd use in VSCode in my neovim.

Re: Show HN: Frogmouth – A Markdown browser for the terminal

#66

Earlier quoted context omitted.

I get all three of those w/ my VS Code setup...could you explain in more detail?

VSCode isn’t much different from vim or emacs in terms of functionality: basic text editor that is configured for various tasks by plugins. Especially with the rise of LSP, the difference between VSCode and vim/emacs is basically preference.

> VSCode isn’t much different from vim or emacs in terms of functionality: basic text editor that is configured for various tasks by plugins.

Ease of extensibility is a big deal and vscode is much less easy to configure.

VSCode doesn't work uniformly throughout the application. In emacs, you'll quickly start to depend on all the places you can use M-r, M-n, and M-p to reverse search history for instance. This is one of many many examples where it's keyboard driven UX is superior.

Another big thing is that you can get help for every keybinding, click a link to it's function, and start modifying the implementation.

There was a recent podcast I can't recall that gave a good example of this... I'll look for it and post back if I find it.

I'm curious, how would you do what I describe here using isearch to query replace in vscode: https://old.reddit.com/r/emacs/comments/126w8xb/what_are_the...

Re: Show HN: Frogmouth – A Markdown browser for the terminal

#67
post #45

Earlier quoted context omitted.

There's a few terminal browsers like w3m, browsh and links that should work for many basic HTML pages.

A full terminal web browser is a bit more than I was looking for, but this is definitely an option. Was thinking more something I could pipe text into to get an extraction and/or a simpler pager interface. The browsh repo front page is just insanely impressive[0]. `links` is impossible to query the web for the project, so if you had more guidance on that one, it would be appreciated. [0] https://github.com/browsh-org…

    Elinks -dump google.com

Re: Show HN: Frogmouth – A Markdown browser for the terminal

#68

Earlier quoted context omitted.

VSCode isn’t much different from vim or emacs in terms of functionality: basic text editor that is configured for various tasks by plugins. Especially with the rise of LSP, the difference between VSCode and vim/emacs is basically preference.

> VSCode isn’t much different from vim or emacs in terms of functionality: basic text editor that is configured for various tasks by plugins. Ease of extensibility is a big deal and vscode is much less easy to configure. VSCode doesn't work uniformly throughout the application. In emacs, you'll quickly start to depend on all the places you can use M-r, M-n, and M-p to reverse search history for instance. This is one…

My argument was the opposite, I use emacs for everything because its extensions are more composable and it’s a lot easier for me to write my own as I need them.

My point is just that the “why would anyone use a ‘text editor’ instead of an IDE” argument makes a little bit of sense when you’re comparing vim/emacs to IntelliJ, but VSCode is just as much a text editor out of the box as vim/emacs. And, despite being newer, it’s relatively uninspired compare to emacs.

Re: Show HN: Frogmouth – A Markdown browser for the terminal

#69
post #45

Earlier quoted context omitted.

There's a few terminal browsers like w3m, browsh and links that should work for many basic HTML pages.

A full terminal web browser is a bit more than I was looking for, but this is definitely an option. Was thinking more something I could pipe text into to get an extraction and/or a simpler pager interface. The browsh repo front page is just insanely impressive[0]. `links` is impossible to query the web for the project, so if you had more guidance on that one, it would be appreciated. [0] https://github.com/browsh-org…

Well if you don't find anything, I wonder how easy it would be to adapt my DocBook XML reader to do HTML (sans any sort of script, dynamic content, or remote content). It's pretty much as you describe, little more than a pager for stuff that one can pipe into it, or files named on the command line. I pretty much aimed at just under pg(1) for DocBook XML.

* http://jdebp.info/Softwares/nosh/guide/commands/console-docb...

Re: Show HN: Frogmouth – A Markdown browser for the terminal

#70
post #46

It's probably only me but isn't Markdown's main "selling point"/feature the raw files are human readable? Looking at the screenshots, the only thing the "rendering" provides seem to be: 1) syntax highlights on code blocks; and 2) don't need to count the ordered bullets? I guess if you need to verify that your markdown can be rendered (e.g no syntax errors), this would be helpful, but for that use case maybe a markdow…

Markdown can also contain inlined HTML, which is not human readable.

Don’t let the semantic HTML people hear you
Post reply on HN