Skip to content

Releases: charmbracelet/glow

v1.0.0

06 Oct 17:01
2814262
Compare
Choose a tag to compare

Changelog

be478cb Adapt to upstream gitcha API
85c121d Add Arabic pagination if the dot nav gets wider than the terminal width
787b988 Add Charm logo, remove SSH stuff
d06f491 Add GLOW_DISABLE_GLAMOUR in the env for testing
7ea7979 Add Glow "logo" to stash browser
8d6da19 Add Glow logo to README
994b85b Add Go 1.15.x to build matrix
ce8ca8f Add Nix installation instructions + note about Charm loving open source
ba7c9a5 Add Void Linux installation instructions
c954898 Add basic mouse wheel support to pager
04f1ebf Add functionality for setting document note in the pager
71b9387 Add gitcha
93eea84 Add golangci config
dde5740 Add info about new Glow version to README
ea12614 Add memo key to stash help + change memo keys to 'm'
dc74e17 Add missing comma
45cde43 Add more checks for nil Charm clients
20f7168 Add pagination call
c0daa74 Add periods to comments to make the linter happy
15459db Add release badge to README
1971c8a Add right padding to markdown rendering
e500ed6 Add stash item deletion functionality
c997990 Add status bar
5613e36 Adjust dark green color in status message bar
d941957 Also exit the pager with left arrow, h and delete/backspace
3ab3b8f Also keep the scroll percentage at 0% or higher
eba22f0 Also set/edit notes in stash view
f611b6e Also use f and b to change pages in the file listing view
cdc55a4 Always show spinner for a minimum amount of time when stashing
912c806 Apply fine-grained spinner display rules to file listing view
0897472 Attempt to cleanup the Msg grab bag formatting
c9af84b Automatically detect terminal width, with a 120 char limit
9263f82 Avoid potential variable capture situations
e9c47a1 Be specific that we're deleting only from the stash
4cfd1fc Better error view language depending on whether error is fatal
abff9d4 Better header messages depending on what we find
c2bb505 Break pager off into its own set of Boba functions
f43a027 Bugfix: scroll percentage could read higher than 100% ater a resize
18fcf68 Change default rendering width to 80
1200b86 Cleanup pager status bar view thanks to the latest updates in reflow
3588f45 Cleanup status message vars
131685b Clearer const names for stash view stuff
9179515 Close help when unloading/resetting pager
40dfa9e Comments
05a5638 Comments
cd9ee93 Configure git for private modules
6e72cbd Consolidate debug config stuff
c00fe7f Correct env var placement in Makefile
b2511c5 Correct header counts for local items converted to stashed ones
7ee203a Correct keystroke in pager help
3b06c1f Correction help-toggling method name in pager
e0bd2dd Crudely load local markdown files into the stash
4792345 Delete from stash command
3b3bf68 Detect when stash and news loading fails (and update the UI accordingly)
a5febb9 Disable Windows & FreeBSD builds temporarily
2821cf2 Disable identity & force-key flags
d16c13f Disable mouse for now
fa06996 Dispell a magic number
2534045 Do it fullscreen
4140404 Don't allow note-setting on news
26b3292 Don't allow stashing until authed + introduce "offline mode" in UI
7b6c3b3 Don't allow users to set notes on local files
83eec3f Don't change the state when initializing the Charm client
e685dea Don't query for terminal dimensions when starting up
74aad53 Don't quit if user uses esc/q to exit the non-fatal error view
ddef264 Don't quit on "fatal" errors
f474e24 Don't render stash until both stash and news are loaded
b831afc Don't say we haven't found anything until we're done searching
1219d22 Don't set a note if the note didn't actually change
3409ca3 Don't show navigation help in the stash if there's only one item
2907abd Don't show status message in file listing when stashing in pager
198a785 Don't show the paginator if there's only one page
e8eea0b Don't shut down when we encounter network errors
61bcd80 Don't try and open stuff if there's nothing to open
70070d2 Draw a spinner in the file listing while stuff is loading
2814262 Enable brew Linux builds in the charmbracelet/tap
6025e73 Enable use of the GLAMOUR_STYLE environment variable (#152)
6b21789 Ensure sorting is stable: type -> timestamp -> path/ID
9bee37e Fetch and render news markdown
f203f84 Fix README typos
b9c02d7 Fix a bug where pressing q would cancel note input
8370f74 Fix a crash when opening pager help in very narrow windows
d299ee3 Fix a panic that could happen with very tiny terminal windows
d3ac07c Fix bottom line jitteriness with performance rendering
a04ca3f Fix bug where pressing left to exit the pager would also page the stash
e50aff6 Fix bug where spinner would spin forever if the stash is empty
60b1d6a Fix bug where user couldn't exit pager in various stash-related states
b31aba3 Fix case where pager commands could be lost
9bc86c1 Fix character-chomping weirdness with a well-placed newline
b39b2e6 Fix checksums in go.sum
b94615f Fix debug log in stash deletion command
089b66f Fix extreme edge case error logging where local file has no path
a3552fd Fix goreportcard link
05a77ff Fix make target for logging to the local directory
251aacf Fix markdown sorting error
939fdef Fix panic when deleting item at end of stash
2e7b0ec Fix regression where items stashed in the pager were treated as local
5515460 Fix regression where note-setting on newly stashed items couldn't be done
b20a06d Fix stash capitalization in help
d4203ed Fix stash empty/not-empty rendering
d0542b6 Fix stash spinner
2688a8c Fix stash view when no items are stashed
6e13ce3 Fix status bar colors on light backgrouds
553d064 Fix tests (don't test glow with no arguments)
dbb3235 Flag stashed items with a little dot
f3a91f0 For now, keep selection within current page
805a260 Format help and add examples to stash command
bd52d1c Get markdown command
5b20e3e Hide files and dirs starting with a dot by default
2e16f26 Highlight stash choice in file listing footer
21eccfd Hop back to Muesli's gitcha repo at master
6e36891 If a file is currently mid-stash don't let the user stash it again
9903ea8 Ignore $GOPATH everywhere and ~/Library on macOS
1443d3e Improve README wording around stashing
81bcce8 Improve stash item deletion cancellation experience
c7e584c Improve state on selected items in stash view
68d2d34 Insert files into the file listing as we find 'em
b2df0ca Integrate high performance viewport, but not without issue
091c3be Keep loading stuff in the background while viewing a document
8bb2812 Keep page in bounds after resetting terminal size
531645e Keep selection in-bounds when paginating
8471c52 Keep the stash help view from wrapping in very narrow windows
ee4ed1b Keybindings for jumping to the top and the bottom of the pager
676d215 Keybindings for navigating to the start/end of file listing
fd62ceb Left/right + h/l to navigate pages
4acb642 Let's just call documents "markdowns"
ac872bf Let's now refer to userMarkdown as stashedMarkdown
b4398fc Link to pkg.go.dev instead of godoc.org
395ae99 List stash
0534053 Load chosen document into pager
d6f296c Load document body before stashing when stashing from the file listing
2581f76 Load local markdown files into the pager
7a8a1f7 Load more pages, if any, when the user reaches the last page
c622816 Load selected item from stash into the pager
bb6904a Load stash + fix spinner issues + render nothing useful
055ae6e Load, browse and render news
ddbacff Log IO errors if a logfile is set
c3ceed2 Log to a given path if GLOW_LOG_TO_FILE is set
3572ef5 Log when local file search finishes
cdf1113 Log when stash item deletions fail
28f8f18 Make --force-key/-f a persistent flag, like --identity
9db7c2e Make general error msg a struct for type safety
ec9cc0b Make source private
77ba75d Migrate from Boba to Bubble Tea and Bubbles
5019331 Mini help view for pager
c55bb23 Minor comments and cleanup in the TUI
f302182 More contrasty note titles in pager status bar
575017e More integrated-looking stash confirmation message in pager
5554624 More logging around keygen
82acc62 Move common commands to the main UI file
a3a05fd Move ignore stuff to gitcha (and temporarily use the meowgorithm fork)
2b06454 Move markdown types into a separate file
85cd31d Muesli informs me of the correct capitalization of "macOS"
5ea351a Navigate over unpaginated stash
5cd6acc Nice looking system-level errors
4c6633e Now in Homebrew!
f00e5cc Only do the dark background check once
dd8c650 Only show memo key in pager help for user stashed markdown
964be85 Parse subcommands before main command arguments int the CLI
5d2ca09 Pass style argument to the Boba program
d34a687 Pin charm, glamour, and bubbles deps at master
8695bff Pre-populate note field with exisiting note
d156142 Press "r" to view errors in the stash
dde45d9 Pressing 'q' when setting a note in the pager shouldn't cancel the note
fc2f056 Pressing q quits no matter where you are
03b7b92 Print successful stash
d2e2da7 Properly render one page of the stash
562d02d Properly truncate fullwidth/double-byte chars
a02cc01 Pull an always-nil return value
844cdcd Pull out Windows language from README for now
2a70069 Re-render with Glamour terminal resize
45163be Refer to local files as "local" instead of "files"
671eade Remove Boba residue
29b825b Remove authors in README
4849e04 Remove commented code
8ef13d4 Remove deprecated homebrew tap installation note
f8c4ddc Remove disabled force key/identity file stuff for now
dd82896 Remove extra height and positioning stuff
88523ee Remove extraneous formatting call
6e7cea7 Remove more old code for specifying SSH paths
2c71185 Remove mysterious "stash may not be totally loaded" dots for now
c149685 Remove newline
b296cbb Remove newlines the linter is complaining about
c663511 Remove replace directive in go.mod
1b7c70a Remove right document padding per Glamour update (pinned at current master)
6aba7af Remove some magic numbers to calm the linter down
fcaa654 Remove spinner cus...

Read more

v0.2.0

09 Jan 11:20
6e83109
Compare
Choose a tag to compare

Changelog

e7c92dd Add -p flag to render output in default pager
3262d45 Add go workflow (#119)
3b38e3c Add tests for root command
6e83109 Bump glamour dependency to v0.1.0
c7caed4 Bump indirect goldmark dependency
4690c26 Document paging in the README
a358e8c Enable ANSI for Windows consoles
1d4f5c8 Fix goreleaser deprecations
b7304db Fix starting glow without sources
be911b4 Fix typo in comment
85c0cde Pass writer to executeArg to make code easier to test
b2c253e Remove TravisCI config
225f822 Report test coverage in GitHub workflow
1d89273 Tiny edit to image alt text in README
c0fd593 Use GitHub Actions badge in README (#120)
f04f2a8 feat: support multiple files

v0.1.6

30 Dec 06:09
53e4396
Compare
Choose a tag to compare

Changelog

53e4396 Bump glamour dependency to prevent crashing on irregular markdown

v0.1.5

28 Dec 05:11
c1c5dfb
Compare
Choose a tag to compare

Changelog

c1c5dfb Bump glamour dependency
7e9884c Point out GitLab is also supported in README

v0.1.4

28 Dec 02:18
66e20b2
Compare
Choose a tag to compare

Changelog

66e20b2 Add FreeBSD releases to goreleaser config
79fad4d Bump glamour dependency and adopt functional options API
fa9d64c Trim unstyled padding spaces from output

v0.1.3

24 Dec 01:47
aa9ca8a
Compare
Choose a tag to compare

Changelog

5a44b9d Add FreeBSD package to README
aa9ca8a Bump glamour dependency

v0.1.2

23 Dec 03:29
f090b74
Compare
Choose a tag to compare

Changelog

6ab6407 Add badges to README
f090b74 Fix init when reading from stdin

v0.1.1

23 Dec 00:40
92039b3
Compare
Choose a tag to compare

Changelog

966031b Add TravisCI config (#104)
92039b3 Update example image
566a587 Update glamour module
9e47f7d Update installation instructions

v0.1

21 Dec 00:09
8b7dda8
Compare
Choose a tag to compare

Changelog

1e28b02 A few minor edits to the README (#98)
969b3d5 Add .gitignore
134be1d Add Go modules
3806317 Add LICENSE
f92db6b Add example output
821aa99 Add foreground color for text in default theme
810cdf1 Add gallery generation script
68a2909 Add godoc comments to public types
47ac9b7 Add goreleaser config to help automate builds for various platforms
9ecd2a8 Add homebrew configuration to .goreleaser.yml
915cd7a Add light style and style gallery
353b5ea Add margin to heading element in default dark style
8681be7 Add margin to lists in default dark style
0a11c07 Add nfpm configuration to .goreleaser.yml
27e0e08 Add prefix & suffix for headings in default dark style
18f3a85 Add screenshot of dark theme
85ef3db Added enumeration style to default dark theme
de91f6a Automatically use the notty style when stdout is no terminal
9ffa4d5 Basic GitLab support
532fcee Calculate baseURL for local files
c31c06a Calculate block width from BlockStack & RenderContext
58c97dc Check for err before trying to access the stat struct
2bfaa5e Check for supported HTTP/HTTPS protocols explicitly
5c3ad99 Cleanup/simplify main.go
1ffe6fe Compacter usage instructions
73d1d5d Document -w flag in README
3ddece1 Don't panic, forward the error to the caller
1f5aa27 Embed default dark style into binary
292f060 Embed styles in gold library
2bae07e Enable version command for release builds
14bc95c Find README(.md) in current working dir when no arg was supplied
0058cd2 Fix GitHub markdown styling weirdness
6d3f74d Fix background colors not being applied correctly
584adfd Fix baseURL for relative paths
fdbf3b2 Fix brew settings for goreleaser
5daf00f Fix child element rendering
5766f35 Fix word-wrapping in colored output
8eabf0f Handle relative URLs in markdown, when a BaseURL is provided
6a8462e Import glamour
3a99f22 Keep code-block style consistent
8b7dda8 Keep linux archive names lowercase, so we don't break GitHub's sorting
a6d648d Let user pick a syntax color theme in Gold's style config
a9651eb Let's put the money shot at the top of the README
62eaf39 Link to gallery from related Styles paragraph
95b99c9 Lint/fix READMEs
dda8816 Load style from json
974be22 Make document indentable
cbf6197 Move ANSIRenderer into a separate package
9adff17 Move Render and RenderBytes to TermRenderer
8c59f7c Move gallery and images to styles/gallery/
5fe7e94 Move listitem styling to style JSON
bb0385f Move screenshot to styles/
09bb6b3 Much better parsing, README example
a2c5e27 Only use brew for macOS
2446b97 README and LICENSE
2fc9c56 Reference correct build ID for default archives
a0584ae Release as ZIP archive on Windows
5d98836 Remove blackfriday requirement from clients
73b8ffc Remove colon from image prefix
439ee25 Remove test md
2a3ea0e Rename style previews
cb7fedf Rename to glow
d6c1b7f Render each paragraph individually and reflow text only inside paragraphs
37c9cfa Return potential error from ioutil.ReadAll
ee81103 Shorten commit SHA in version output
f1ee1e5 Show style parameter in gallery
bbd2e15 Support fetching READMEs from GitHub
08dd80a Support fetching markdown from arbitrary HTTP sources
1baefbb Support github URLs without protocol
b58f777 Support reading from stdin
4b009b2 Support styled indents for block elements
c6aae63 Update README
e40b042 Update README
29f9503 Update README after rename
57b5100 Update dark style defaults
852df5e Update dark style with a background color for the document
c89ab1c Update default dark style
7eaf4f2 Update default dark style to use colors from limited ANSI color range
df17759 Update default dark theme with margins
951d407 Update glamour module
08b62ec Update gold usage in README
c7686d7 Update repo org
af92548 Update screenshot for default style
6afd336 Updates to default dark style
de1e310 Use 'Camera' unicode symbol U+1F4F7 to prefix images in the default dark style
dca563e Use ElementStyles to determine rendering style
f09d290 Use a plain-text renderer when not printing to Terminal
1604835 Use cobra to handle command line parameters
9567086 When passed a directory as cli-arg, find a README[.md] in it
240eb4f Word-wrap text at 100 chars per default
9da65bd init