CORSflare
add-cors
Our great sponsors
CORSflare | add-cors | |
---|---|---|
2 | 2 | |
145 | 5 | |
- | - | |
0.0 | 0.0 | |
over 3 years ago | over 2 years ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
CORSflare
-
Show HN: Searchall – search all major indexes on one page (with iframes)
Try out some queries from your browser history and see if anything beats google. Other engines are more likely to beat google for queries that google has failed at.
Majority of engines were found at below link. Surprisingly many engines use the same indices, for example duckduckgo is mostly just privacy-protected bing. Big thanks to Rohan Kumar.
https://seirdy.one/2021/03/10/search-engines-with-own-indexe...
A proxy is needed to bypass iframe restrictions for most websites. I used this x-frame-bypass client js code [https://github.com/niutech/x-frame-bypass] which (previously?) used proxy.megatunger.com . That free proxy could be recording your queries, who knows, so use caution.
If (when actually) that proxy goes down I think I'll set up something like CORSflare to have a more reliable and trustworthy alternative. [https://github.com/Darkseal/CORSflare]
I hacked this together over about one workday in total so it's likely to have significant issues. You can comment them here or (preferably) file an issue on the repo: [https://github.com/qpwo/searchall/]
There's also a demo video on the repo if the site goes down but you wanted to see how it looks. Feel free to file feature requests on the repo as well. If you'd rather copy it and make your own version then that's fine too.
I'll try to reply to all comments here.
-
Question about HTTPS requests
Otherwise, if it is on a server, when you make the request, add a header like “Origin”: “https://(sitename).com/“ where sitename would be the URL (not yours, in this case Pipedream’s) to avoid CORS. If worse comes to worse though, you could make your own proxy using Cloudflare Workers. There’s also Cloudflare CORS-Anywhere and CORSFlare
add-cors
- Node proxy to add CORS headers to API response
-
Node proxy to add CORS headers to API response!
git clone https://github.com/das-jishu/add-cors.git cd add-cors/ npm install heroku create cors-everywhere //cors-everywhere is an example. Use a unique name for heroku to create. git push heroku master
What are some alternatives?
cloudflare-cors-anywhere - CORS "anywhere" proxy in a Cloudflare worker. DEMO at: https://test.cors.workers.dev/
fastify-cors - Fastify CORS
allOrigins - :alien: Pull content from any page as JSON via API
x-frame-bypass - Web Component extending IFrame to bypass X-Frame-Options: deny/sameorigin
cors.sh - cors.sh provides cors-anywhere proxy service more reliable for production.
cloudflare-worker-router - A super lightweight router (1.0K) with middleware support and ZERO dependencies for Cloudflare Workers.
dexocdn - DeXoCDN allows developers to easily distribute and serve static assets to improve performance and reduce server load.
terraform-cloudflare-maintenance - Terraform module to create a responsive Maintenance Page using Cloudflare Workers.
free-email-forwarding - The best free email forwarding for custom domains. Visit our website to get started (SMTP server)
paste-story - A serverless Pastebin that allows users to share text content through a link
microservice-demo - A cloud-native project management microservice application. Services are built with various technologies e.g Go, NodeJS, Python, Ruby, MongoDB, MySQL, PostgreSQL