> 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?
Since you're already storing your notes in Git, I think GitJournal  might be useful for you. It's an open source mobile first markdown based notes app integrated with Git. (I'm the author)
Thanks for sharing that. Just downloaded it. I've been planning on building a similar app.
The killer feature I need is a share target so I could select a snippet of text, hit share, and paste it into a particular note.
Please make a browser client with the same interface! :)
Any plans to distribute via f-droid?
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)
For what it's worth, you don't need to use the Charm Cloud features. If you run `glow` in a directory, it will recursively search subdirectories for markdown files and display them for viewing in the TUI. Stashing will encrypt them then push them to the Charm Cloud though.
This is by no means a feature request but it could be useful if Glow provided a way to configure alternative stashing methods (i.e. "stash via Charm or stash via some shell script you give me"). There would still be a lot of pull towards Charm but users who wanna do it themselves can also use the stash feature.
I agree. The whole "encyrpted stash" and "cloud" thing is totally unnecessary. It is an amazing tool without all that noise.
- You might switch between several computers throughout the day.
- You might believe the cloud folks do better backups than you.
Sure, but having been burnt by Keybase and others in the past, there's no way I'm adding another closed-source single-provide blackbox server endpoint to my daily routine.
While this looks like a really neat utility, I'll pass until there's a self-hosted option under a free license.
To each their own.
- I do switch between several computers throughout the day. That's what network file systems are for.
- ‘Cloud folks’ might have more stable hardware and software, but have built themselves a deadly reputation for unreliable policies.
I'm sympathetic to the idea that a company is going to be better at doing backups and maintenance than I am, but for the first point: it sounds like they're using the local machine's SSH key to wrap a symmetric key. Unless you're sharing the same SSH key across all of your machines, this tool probably isn't very useful when switching between computers.
Edit: It looks like they generate their own SSH key instead of using an already present one. So you'd presumably need to copy that to each machine that you'd want to use so that it can unwrap the real (cloud-stored) decryption key.
Also valid for git. Sync to github or whatever and you have the same secure cloud. Which would an editors point to automate this BTW.
FWIW I've used glow for a while as more or less a dumb, colorful markdown pager and had no idea this functionality was there, and I am very sure glow was not phoning home because of how I run little snitch.
I prefer to do this directly in vim with Goyo: https://github.com/junegunn/goyo.vim
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:
Is this limitation of most general code editors? Has neovim fixed this?
Yup, same. Excellent plugin.
If you have Pandoc installed, you can get just the rendering/reading with something like
pandoc -i file.md | w3m -T text/html
And couple it with entr to emulate live preview
pandoc is great :)
Somewhat related: there is a Pandoc "writer" on GitHub that pretty prints most formats supported by Pandoc (including Markdown, of course).
I contributed some changes back in 2019. The writer is written in Lua and the lead maintainer seems happy to welcome PRs.
Thanks for pointing that out. (I've been using `pandoc -t html | elinks -dump -stdin` in my ~/.lessfilter)
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 ;)
Hehe, since we're on the topic of shameless plugs, I have one in typescript - it's ready and I'm using it extensively. Serves locally as you described by using --serve
The Charm project looks awesome, almost get a feel for “post web apps” there. Interesting.
On windows I use Typora. Since I use markdown lists as a journal and project notes, I'm usually doing it on windows.
Very nice tool. One issue is that the color scheme doesn’t work well with a white background, or a monochrome display.
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!
-s light works for me
Is there a way to set a default?
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!
Absolutely love this, very well done!
This is way fancier than my project, which renders markdown (or anything pandoc can read) as a man page:
Note that you can actually get colour and proper italics and boldface out of groff (specifically grotty). They are actually in there in the vanilla tool, but are disabled by overrides on several operating systems.
Love this. Instant install.
This is cool, but I want to run my own server.
Looks great! Love CLI/TUI.
I want this as an editor, with VIM support :)
I've installed it and I felt the same as what you mentioned :)
Then I saw Goyo Vim plugin
What does this do that Vim doesn't, for you?
This doesn’t seem to let me edit, for starters.
Its backed up to the cloud out of the box.
A text file in git or syncthing does the same.