top | item 24810312

Glow: Markdown reader for the terminal with a TUI and encrypted cloud stash

283 points| tobypadilla | 5 years ago |github.com | reply

69 comments

order
[+] hk__2|5 years ago|reply
> Glow works with the Charm Cloud to allow you to store any markdown files in your own private collection.

Why would I want to store my files on someone else’s computer rather than in a git repo on mine?

[+] vhanda|5 years ago|reply
Since you're already storing your notes in Git, I think GitJournal [0] might be useful for you. It's an open source mobile first markdown based notes app integrated with Git. (I'm the author)

[0] https://GitJournal.io

[+] bdcravens|5 years ago|reply
Probably the same reasons you may prefer Google Drive over Microsoft Office.

That said, I would definitely prefer pointing Glow to any standard git repo. This gives it all the security Charm is claiming to offer, versioning, etc, essentially for free. (Obviously that defeats the purpose of Glow being a marketing tool for Charm)

[+] jws|5 years ago|reply
- You might switch between several computers throughout the day.

- You might believe the cloud folks do better backups than you.

[+] phenax|5 years ago|reply
I agree. The whole "encyrpted stash" and "cloud" thing is totally unnecessary. It is an amazing tool without all that noise.
[+] buf|5 years ago|reply
I prefer to do this directly in vim with Goyo: https://github.com/junegunn/goyo.vim
[+] stiff|5 years ago|reply
Vim can't highlight Markdown correctly because it does highlighting via regexps. For correct parsing and thus for correct highlighting of Markdown you need a real parser. See e.g. this:

https://github.com/tpope/vim-markdown/issues/4

[+] leephillips|5 years ago|reply
If you have Pandoc installed, you can get just the rendering/reading with something like

      pandoc -i file.md | w3m -T text/html
[+] RMPR|5 years ago|reply
And couple it with entr to emulate live preview
[+] lou1306|5 years ago|reply
Somewhat related: there is a Pandoc "writer" on GitHub that pretty prints most formats supported by Pandoc (including Markdown, of course).

https://github.com/Orange-OpenSource/pandoc-terminal-writer

I contributed some changes back in 2019. The writer is written in Lua and the lead maintainer seems happy to welcome PRs.

[+] kps|5 years ago|reply
Thanks for pointing that out. (I've been using `pandoc -t html | elinks -dump -stdin` in my ~/.lessfilter)
[+] dangoljames|5 years ago|reply
I've done something similar but as a python flask app that uses a web browser as a reading/writing platform, that keeps it's (unencrypted) stash in a local directory (it's a 'localhost only' webservice).

It's functional but crude so nothing on github just yet ;)

[+] camgunz|5 years ago|reply
The Charm project looks awesome, almost get a feel for “post web apps” there. Interesting.
[+] koheripbal|5 years ago|reply
On windows I use Typora. Since I use markdown lists as a journal and project notes, I'm usually doing it on windows.
[+] zepto|5 years ago|reply
Very nice tool. One issue is that the color scheme doesn’t work well with a white background, or a monochrome display.
[+] mueslix|5 years ago|reply
One of the authors here: it should actually automatically detect your background color and adjust its theme to it. Alternatively you can pick a different style with `-s`, or even write your own one!
[+] lbj|5 years ago|reply
Absolutely love this, very well done!
[+] teilo|5 years ago|reply
Love this. Instant install.
[+] phenax|5 years ago|reply
I love using glow as a markdown previewer for my file manager lf. But what the hell is up with everything else they are trying to do. Just be a good markdown viewer!
[+] minerjoe|5 years ago|reply
Looks great! Love CLI/TUI.

That said, can someone please post a summary of what charm.sh is about? I don't use javascript and nothing comes up on the page.

[+] 0xdeadb00f|5 years ago|reply
In disabled JavaScript and I can read the page fine.
[+] dpedu|5 years ago|reply
This is cool, but I want to run my own server.
[+] eeZah7Ux|5 years ago|reply
A text file in git or syncthing does the same.
[+] cocktailpeanuts|5 years ago|reply
I want this as an editor, with VIM support :)
[+] hackerm0nkey|5 years ago|reply
I've installed it and I felt the same as what you mentioned :)

Then I saw Goyo Vim plugin

[+] suprfnk|5 years ago|reply
What does this do that Vim doesn't, for you?