GithubHelp home page GithubHelp logo

isabella232 / plantproxy Goto Github PK

View Code? Open in Web Editor NEW

This project forked from esl/plantproxy

0.0 0.0 0.0 1.24 MB

Elixir 58.00% Dockerfile 3.26% Makefile 4.25% HTML 3.34% Shell 2.90% Jsonnet 28.25%

plantproxy's Introduction

Plantproxy

What is the problem?

Github raw puml files (files within private repositories) come with an access token that expires after 7 days.

Using the insecure (and confidentiallity busting) plantuml public service has the disadvantage that the images break after 7 days as a consequence.

We create a caching reverse proxy which generates the image and then keeps a copy which will be served by subsequent requests with identical parameters without re-sending the request to the upstream plantuml server.

This solves the problem of expiring github raw tokens as we don't get plantuml to re-process the request with a stale token, we already have the output image in our proxy cache.

What we need

  1. Basic implementation is working
  2. Module implementing github call is working
  3. Cache is working

TODO:

  • extract URL from call to endpoint
  • docker compose to run this and the plantuml server
  • tying the call to the web interface to the call to the plantuml server to render
  • creating an elixir release
  • writing a doc ๐Ÿคฎ
  • deploy to kubernetes
  • ...

plantproxy's People

Contributors

ayanda-d 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.