2 ms·
Show HN: Customizable Reader Mode with Single HTTP Request
Get customizable reader-mode for any article with a single GET request!
Inspired by Tuan Anh's reader (https://github.com/tuananh/reader) and image-charts.com.
HN users apikey = c3fc3cc7ad67fb8051affbe764db6f7a46b3990f
Structure (strict) = https://extractarticletext.com/api/reader/?apikey=APIKEY + & + parameters + &url=YOURURL
Available parameters (defaults available, so all these are optional):
- mode=night/light
- font=opensans/roboto/lato/oswald/sourcesanspro/montserrat/ptsans/raleway/lora
- font_size=24px (can be any size, just use "px" - 12px, 14px, etc.)
- title_size=1/2/3/4/5/6 (heading sizes)
Example (try it out!):
https://extractarticletext.com/api/reader/?apikey=c3fc3cc7ad67fb8051affbe764db6f7a46b3990f&mode=night&font=lato&font_size=30px&title_size=1&url=https://example.com
Let me know what other parameters you'd like to see (images, bold intro, more fonts, etc.), still rough. Built on top of extractarticletext.com.