GithubHelp home page GithubHelp logo

tungd / bifrost Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 0.0 245 KB

Bifrost is a burning rainbow bridge that reaches between Midgard (Earth) and Asgard, the realm of the gods.

License: Apache License 2.0

Swift 100.00%
proxy kubernetes menubar-app

bifrost's Introduction

Bifrost

What

Bifrost is a menubar application to providing proxies to various services through SSH.

Why

Sometimes I need a Sock5 proxy to get through BS, and I already have some VPS running around. The other time I have some services running on VPS or a remote machine that I want to tunnel to my machine so that I can use them as-if they were running locally, and I'm too lazy to keep a terminal tab open for each of those service.

How

Bifrost sits on your menubar, and read your ~/.ssh/config for list of servers to connect to.

Given that you already have config like this in your ~/.ssh/config:

Host web
  HostName <remote_ip>
  User <user>
  IdentityFile ~/.ssh/id_rsa

Each time you need a proxy just select the server and enable the service. There's no step 3โ„ข. Behind the scene, what the app really does is to create a SSH tunnel to your server, with the correct mapping port-to-port. It is the equivalent of running

ssh -CN -L <port>:127.0.0.1:<port> <remote_ip>

Screenshot

Screenshot

Roadmap

  • Kubernetes Pod And Service Discovery
  • Automatic startup
  • Configuration: allow to define new services and servers, without relying on ~/.ssh/config. We might need this since currently we're not sandbox friendly
  • Logging console
  • AppStore release

License

Copyright 2021 Tung Dao

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

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.