Open pedramamini opened 8 months ago
👍
That would be great!
i think there are a better approach.. using jina.ai reader api. its fast, easy and not need to run any additional code.
curl https://r.jina.ai/https://inquest.net/blog/around-we-go-planet-stealer-emerges/ | fabric -p summarize
iv tested it with jina.ai website curl https://r.jina.ai/https://jina.ai/ | fabric -c -p summarize
im using -c to add context that translate output for me to spanish ;)
enjoy
@matigumma love it! I've added this to my .zshrc
and prefer to use it since, by nature, we're grabbing public resources here anyway:
jf ()
{
curl -s https://r.jina.ai/$1
}
Thanks for the suggestion, @matigumma . I found Jina Reader to be very useful. One thing that intrigues me, though, is that I have not logged in to the service, nor have I set the API key anywhere, but still Jina AI kind of knows that I'm the one making the cools via my Terminal. Do you guys know how their authentication works? I don't remember setting up any credentials
Thanks for the suggestion, @matigumma . I found Jina Reader to be very useful. One thing that intrigues me, though, is that I have not logged in to the service, nor have I set the API key anywhere, but still Jina AI kind of knows that I'm the one making the cools via my Terminal. Do you guys know how their authentication works? I don't remember setting up any credentials
docs:
i think u can do with a bash script
curl 'https://r.jina.ai/https://example.com' -H "Authorization: Bearer jina_api_key"
You can use
-u, --scrape_url= Scrape website URL to markdown using Jina AI
What about paywalls? Does Jina work for pages protected by paywalls (which are really a lot of our readings)?
One interesting tidbit is the use of tokens when using different patterns on the same webpage, it only charges it once which is perfect. Will it still not charge on the same URL if i restart my laptop and if it does, is there a work around with this?
can we not LinkedIn with JINA:
I gave it justin welsh profile and output was this (lol tokens wasted):
ONE SENTENCE SUMMARY: Join LinkedIn by creating an account or signing in.
MAIN POINTS:
TAKEAWAYS:
What do you need?
This is a feature request with example code that should be able to be dropped right into
installer/client/cli/
:https://gist.github.com/pedramamini/e1f7f9dc6013734fca44961cca4e7890
CLI tool and library for fetching content via Chrome driven by Selenium. Has some (rudimentary) tricks up its sleeve to evade mechanized browser detection.
Requirements
Usage
Example