Giter Site home page Giter Site logo

proxly's Introduction

Proxly

An experiment evolved into a web dev tool

  • Redirects web requests to local files
  • Redirects web requests to wherever else you want
  • Enables CORS
  • Runs a web server
  • Watches files for changes
  • Livereloads your stuff
  • All of this using just Chrome, no command line tools or anything else
  • Exists on the chrome store

Install

Get the Proxly App and Proxly Extension from the Chrome Store

Build

npm install
npm run build

Then in chrome://extensions, add unpackaged directories app/src and extension/src

proxly's People

Contributors

dnakov avatar jansuchy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

proxly's Issues

Can't enable more than one rule

Clicking enable inside the extension's popup will switch all other "checkboxes" reverting the other rule from enabled to disabled.

The extension page seems to be down.

Searching for proxly in the chrome webstore returns no results, also when navigating to the pages directly it returns a 404.

Thanks much for the work on proxly!

automate chrome store publishing

Publish Instructions

Here https://developer.chrome.com/webstore/using_webstore_api
Get Ids from here: https://console.developers.google.com

Get the token:

curl "https://accounts.google.com/o/oauth2/token" -d \
"client_id=$CLIENT_ID&client_secret=$CLIENT_SECRET&code=$CODE&grant_type=authorization_code&redirect_uri=urn:ietf:wg:oauth:2.0:oob"

token is good for 40 min

Upload a new app:

curl \
-H "Authorization: Bearer $TOKEN"  \
-H "x-goog-api-version: 2" \
-X POST \
-T $FILE_NAME \
-v \
https://www.googleapis.com/upload/chromewebstore/v1.1/items

Update the app:

curl \
-H "Authorization: Bearer $TOKEN"  \
-H "x-goog-api-version: 2" \
-X PUT \
-T $FILE_NAME \
-v \
https://www.googleapis.com/upload/chromewebstore/v1.1/items/$APP_ID

Publish to public

curl \
-H "Authorization: Bearer $TOKEN"  \
-H "x-goog-api-version: 2" \
-H "Content-Length: 0" \
-X POST \
-v \
https://www.googleapis.com/chromewebstore/v1.1/items/$APP_ID/publish

Get Status

curl \
-H "Authorization: Bearer $TOKEN"  \
-H "x-goog-api-version: 2" \
-H "Content-Length: 0" \
-H "Expect:" \
-X GET \
-v \
https://www.googleapis.com/chromewebstore/v1.1/items/$APP_ID?projection=draft
  1. Auto-increment the manifest file (follow semver somehow)
  2. run all this shit after zip
  3. print some status
  4. make this into a gulp plugin
  5. make this whole fucking thing into a chrome-app/extension generator using gulp

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.