Coder Social home page Coder Social logo

corsmirror / corsmirror-cf Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 6.0 2.17 MB

☁️ Proxy to URLs with CORS enabled.

Home Page: https://b.remarkabl.org/corsmirror-site

License: MIT License

Shell 8.39% TypeScript 72.22% HTML 9.90% Gherkin 9.49%
api api-rest cloudflare cloudflare-functions cloudflare-pages cors cors-proxy proxy

corsmirror-cf's Introduction

CORSmirror

CORSmirror is a RESTful API that provides a proxy to URLs with CORS enabled.

Built with:

Usage

RESTful API:

https://corsmirror.com/v1?url=<url>

Replace <url> with your URL.

So to fetch http://example.com:

fetch('https://corsmirror.com/v1?url=http://example.com')
  .then((response) => response.text())
  .then((data) => console.log(data));

Try it out: https://corsmirror.com/v1?url=http://example.com

Development

Installation

Clone the repository:

git clone https://github.com/CORSmirror/corsmirror-cf.git
cd corsmirror-cf

Install the dependencies:

npm install

Run

Start the development server:

npm start

Open http://127.0.0.1:8788 to view it in the browser:

open http://127.0.0.1:8788

Contributions

This is an open source project so feel free to fork the repository. Contributions are welcome!

Support

License

MIT

corsmirror-cf's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar remarkablemark avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.