Commit Graph

82 Commits

Author SHA1 Message Date
gardenapple
b5d80a68a4
Remove debug info 2021-02-04 23:39:49 +02:00
gardenapple
74a41d803f
v2.2.1 pre-release 2021-02-04 23:22:34 +02:00
gardenapple
32b5737814
Also read http_proxy and lowercase https_proxy env vars 2021-02-04 23:22:01 +02:00
gardenapple
b004527216
Allow configuring JSDOM's ResourceLoader 2021-02-04 23:14:22 +02:00
gardenapple
1771f9e6b3
Add localization for --style option description 2021-02-04 22:32:34 +02:00
gardenapple
f21bbb4415
v2.1.0 pre-release 2021-02-04 22:17:56 +02:00
gardenapple
4acd520b45
Print author and horizontal line with custom styles as well 2021-02-04 22:15:18 +02:00
gardenapple
5f84b9741c
Adapt HTML to Firefox Reader Mode if --style is missing 2021-02-04 22:04:28 +02:00
gardenapple
c34d556dbc
Add Firefox Reader Mode stylesheet 2021-02-04 20:47:25 +02:00
gardenapple
7632a3d195
v2.0.0 pre-release 5, fix require('yargs') 2021-01-29 12:19:11 +02:00
gardenapple
b51d5e5496
v2.0.0 pre-release 4 2021-01-29 11:41:02 +02:00
gardenapple
4025f1c99e
Switch away from Git dependency to scoped package (closes #4) 2021-01-29 11:39:08 +02:00
gardenapple
189ce4cd46
Sanitize whole HTML as DOM rather than string 2021-01-29 11:32:27 +02:00
gardenapple
5db9f4bda7
v2.0.0 pre-release 3 2021-01-27 00:58:50 +02:00
gardenapple
ceefa25625
Spit out HTML on Readability failure if --low-confidence=keep 2021-01-27 00:49:01 +02:00
gardenapple
74e40fc426
Output full <html> with <head> and <title> by default
Old behavior can be invoked by explicitly setting
--properties html-title html-content
2021-01-27 00:23:09 +02:00
gardenapple
eaaa11f808
Rename no-op to keep and alphabetize --help 2021-01-27 00:03:25 +02:00
gardenapple
a91521846c
Sanitize HTML by default 2021-01-26 23:41:25 +02:00
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
2021-01-26 21:56:18 +02:00
gardenapple
cdd635d560
v2.0.0 pre-release 2 2021-01-25 22:24:42 +02:00
gardenapple
0c228d69d7
Localization READMEs 2021-01-25 22:13:02 +02:00
gardenapple
035ae5ff82
Russian localization + minor fixes 2021-01-25 22:10:23 +02:00
gardenapple
4ca8958355
Fix zsh completion and locale dir 2021-01-25 20:37:51 +02:00
gardenapple
5da7659225
v2.0.0 pre-release 2021-01-25 03:24:12 +02:00
gardenapple
86acd52b61
Better error handling, and beginning of i18n 2021-01-25 03:15:53 +02:00
gardenapple
2362e45247
Fix -- and --json option 2021-01-25 01:39:31 +02:00
gardenapple
0df0fbd3b4
Improved messages 2021-01-25 00:58:59 +02:00
gardenapple
c5f1a1efe7
Add .html to .gitignore 2021-01-25 00:57:03 +02:00
gardenapple
7325c8b4ef
Deprecate (and improve) --is-url, add --is-file 2021-01-25 00:55:17 +02:00
gardenapple
805d11de74
Update dependencies 2021-01-25 00:13:45 +02:00
gardenapple
32a4281288
Merge branch 'yargs' 2021-01-25 00:02:57 +02:00
gardenapple
921e6fb206
Better help formatting and autocompletion 2021-01-24 23:43:00 +02:00
gardenapple
d08103e500
Auto-completion works with all options 2021-01-24 23:17:06 +02:00
gardenapple
53be7c0c3a
Clearer comment 2021-01-12 17:59:19 +02:00
gardenapple
7bc68801e9
Bump version again so that NPM updates the README 2020-11-12 09:15:34 +02:00
gardenapple
7a543fd8b6
Bump version properly + save README 2020-11-12 09:11:15 +02:00
gardenapple
3ccb21ff34
Bump version 2020-11-12 08:58:35 +02:00
gardenappl
6465d29b23 Merge branch 'main' into 'main'
Introduce JSON-only output

See merge request gardenappl/readability-cli!1
2020-11-12 06:36:38 +00:00
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.
2020-11-12 06:36:38 +00:00
gardenapple
3756985dd4
Migrate to unscoped package, bump version 2020-08-19 01:18:32 +03:00
gardenapple
c46b08effa
Migrate to Mozilla's NPM package 2020-08-13 23:39:06 +03:00
gardenapple
478cfa083e
Change --url to --base in README 2020-08-09 18:24:03 +03:00
gardenapple
8ca071ef81
Version bump + update keywords 2020-08-09 18:05:46 +03:00
gardenapple
d752077cd6
Rename --url to --base 2020-08-09 18:05:25 +03:00
gardenapple
8c22aac58d
Playing around with auto-completion (- broken) 2020-08-09 03:49:49 +03:00
gardenapple
cbcc1e9a68
Cleanup, implement all options 2020-08-09 02:23:24 +03:00
gardenapple
2cedee56f9
Removed minimist 2020-08-09 02:11:10 +03:00
gardenapple
07f4a49239
Update package-lock.json 2020-08-09 02:08:41 +03:00
gardenapple
ed2803d107
Convert from minimist to yargs 2020-08-09 02:01:51 +03:00
gardenapple
2288a94f02
README: split Installation into sub-sections 2020-08-02 01:12:34 +03:00