Commit Graph

53 Commits (ed4664d007ec076a29af7e8b5e5dccb5bd5aa245)

Author SHA1 Message Date
gardenapple bfc742a0e1
Move from scoped yargs dependency to release candidate 3 years ago
gardenapple 9b43bec44e
Fix crash when sanitizing HTML 3 years ago
gardenapple b5d80a68a4
Remove debug info 3 years ago
gardenapple 32b5737814
Also read http_proxy and lowercase https_proxy env vars 3 years ago
gardenapple b004527216
Allow configuring JSDOM's ResourceLoader 3 years ago
gardenapple 1771f9e6b3
Add localization for --style option description 3 years ago
gardenapple 4acd520b45
Print author and horizontal line with custom styles as well 3 years ago
gardenapple 5f84b9741c
Adapt HTML to Firefox Reader Mode if --style is missing 3 years ago
gardenapple c34d556dbc
Add Firefox Reader Mode stylesheet 3 years ago
gardenapple 7632a3d195
v2.0.0 pre-release 5, fix require('yargs') 3 years ago
gardenapple 189ce4cd46
Sanitize whole HTML as DOM rather than string 3 years ago
gardenapple ceefa25625
Spit out HTML on Readability failure if --low-confidence=keep 3 years ago
gardenapple 74e40fc426
Output full <html> with <head> and <title> by default
Old behavior can be invoked by explicitly setting
--properties html-title html-content
3 years ago
gardenapple eaaa11f808
Rename no-op to keep and alphabetize --help 3 years ago
gardenapple a91521846c
Sanitize HTML by default 3 years ago
gardenapple 68f5a3b6c5
Rework output
Breaking changes:
* Properties are now printed as a single line (all except html-content
  and text-content)
* Properties are now printed without prefixes or localization
* Properties are now printed in the order given by the user
3 years ago
gardenapple 035ae5ff82
Russian localization + minor fixes 3 years ago
gardenapple 4ca8958355
Fix zsh completion and locale dir 3 years ago
gardenapple 86acd52b61
Better error handling, and beginning of i18n 3 years ago
gardenapple 2362e45247
Fix -- and --json option 3 years ago
gardenapple 0df0fbd3b4
Improved messages 3 years ago
gardenapple 7325c8b4ef
Deprecate (and improve) --is-url, add --is-file 3 years ago
gardenapple 32a4281288
Merge branch 'yargs' 3 years ago
gardenapple 921e6fb206
Better help formatting and autocompletion 3 years ago
gardenapple d08103e500
Auto-completion works with all options 3 years ago
gardenapple 53be7c0c3a
Clearer comment 3 years ago
Olivier Tremblay 3d5c867c90 Introduce JSON-only output
For a specific use case where I want to arrange the output otherwise,
I require the ability to manipulate the output as JSON. So I added
an option for that.
4 years ago
gardenapple c46b08effa
Migrate to Mozilla's NPM package 4 years ago
gardenapple d752077cd6
Rename --url to --base 4 years ago
gardenapple 8c22aac58d
Playing around with auto-completion (- broken) 4 years ago
gardenapple cbcc1e9a68
Cleanup, implement all options 4 years ago
gardenapple ed2803d107
Convert from minimist to yargs 4 years ago
gardenapple a423ae6766
Improved help, allow -h argument 4 years ago
gardenapple 366b405ad6
On-demand loading of JSDOM library 4 years ago
gardenapple a97b1ee269
Added low-confidence mode, change default behavior 4 years ago
gardenapple 01276e726b
v1.0.3: better stability & performance + no URL warning 4 years ago
gardenapple 099752fa45
Add GPL-3.0 license 4 years ago
gardenapple 742d3435a3
Error handling for invalid URLs 4 years ago
gardenapple 708e0475c1
Url parameter 4 years ago
gardenapple 23f48e385f
Fix error handling 4 years ago
gardenapple bf1935ecd4
Escape, not encode! 4 years ago
gardenapple cd196c7b60
Added --quiet option 4 years ago
gardenapple 227bd1fad9
Option to interpret SOURCE as URL, by force 4 years ago
gardenapple 78f1cf5894
Rephrase help 4 years ago
gardenapple 1f9e7a3564
HTML encode the title! 4 years ago
gardenapple 12dda98492
Add package-lock.json back 4 years ago
gardenapple 8562d769f3
Show version string 4 years ago
gardenapple 8e7951a20a
Output specific properties 4 years ago
gardenapple ef48da969a
Handle errors 4 years ago
gardenapple b71cddfc14
Allow empty input parameter when piping 4 years ago