joncrangle

Results 16 comments of joncrangle

This seems like a very cool idea. I played around with your example a bit, and I think we may be able to leverage Github actions to run a shell...

I found a Golang port of DOM-distiller, [go-domdistiller](https://github.com/markusmobius/go-domdistiller), that also incorporates some improvements. I haven't played around with it, but I think this is a cool idea. If the API...

I started work in a [branch](https://github.com/joncrangle/ladder/tree/feat/outline) on the frontend piece. Rather than use a framework, I created a Get handler for the `content/` route and used Go Fiber's Template package...

@deoxykev How do you envision the API return longer content / images, even if only a cover image?

I've used the following mock json response to make some pretty good progress on the frontend: ```json { "success": true, "error": { "message": "This is an example message. If success...

I've made further progress in [feat/outline](https://github.com/joncrangle/ladder/tree/feat/outline). I'm still just rendering mock data from a `mock.json` file. I haven't directed my attention to calling the `api` route for the data since...

In addition to [go-domdistiller](https://github.com/markusmobius/go-domdistiller), there is also [go-trafilatura](https://github.com/markusmobius/go-trafilatura) that seems to have fallback extractor functions to go-domdistiller and go-readabiility. I haven't tried these, but it seems to perform well in...

This seems very promising. While exploring the go-trafilatura package, I saw that there was an [output.go](https://github.com/markusmobius/go-trafilatura/blob/main/cmd/go-trafilatura/output.go) with a jsonExtractResult function, as well as [helper.go](https://github.com/markusmobius/go-trafilatura/blob/main/helper.go) that contains the CreateReadableDocument function. I...

> ### The API is now ready for testing! > FYI I changed the path from `/api/content` to `/api/outline`. > > Usage is like: `curl http://localhost:8080/api/outline/https://www.newyorker.com/magazine/2023/12/04/how-jensen-huangs-nvidia-is-powering-the-ai-revolution` > > @joncrangle can...

I agree that this nested DOM approach is getting too complex and I ran into a number of footguns just experimenting. If nested tags can be escaped and unescaped so...