Coder Social home page Coder Social logo

homer-proxy's Introduction

Homer Proxy for Homer Dashboard

Introduction

Homer Proxy is a simple, effective solution designed to enhance the functionality of the Homer Dashboard. This project primarily addresses CORS issues, secure handling of passwords and API keys, and facilitates complex integrations.

Structure

The project consists of two main directories:

  1. src: Contains the source code of the proxy.
  2. homer-components: Includes custom components for the Homer Dashboard.

Features

1. CORS Issue Resolution

When using the Homer Dashboard, CORS (Cross-Origin Resource Sharing) headers often pose challenges. Instead of directly calling an API, this proxy provides an endpoint that ensures proper functioning with respect to CORS headers.

2. Secure Handling of Credentials

To avoid storing passwords and API keys in plain text in the Homer Dashboard configuration, this proxy securely manages these credentials. For each endpoint, the proxy reconfigures necessary headers, such as Basic Authentication or API keys, based on its configuration. Thus, regardless of what is entered in the Homer Dashboard configuration, the proxy ensures secure communication. The proxy also logs all expected environment properties to the console at startup.

3. Complex Integrations

For more complex integrations, such as with Unifi, the proxy uses external libraries without directly incorporating them into the Homer Dashboard code. This provides a simple interface for the Homer Dashboard components, abstracting the complexity.

Usage Example

An example of how to deploy and use this proxy can be found in the deploy.sh script.

homer-proxy's People

Contributors

tvecera 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.