Project

flaun

0.0
No release in over 3 years
Low commit activity in last 3 years
launch browser after ssh local forward
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
>= 0

Runtime

 Project Readme

Flaun

Build Status Coverage Status Code Climate

TODO 英語で書きなおす。

リモートのサーバからブラウザでアクセスすることを再現できます。 もっと詳しく言うと ssh でポートフォワードしてブラウザでひらきます。 アクセス制御したいが、固定IPがない時に便利かもしれません。

Installation

Add this line to your application's Gemfile:

gem 'flaun'

And then execute:

$ bundle

Or install it yourself as:

$ gem install flaun

Usage

もし eiel.info というマシンから http://localhost/foo にアクセスしたいとする。 この情報を sample とすると、以下のコマンドでブラウザでひらけるようにします。

$ flaun sample

これをできるようにするには ~/.flaun を作成します。

port 8010

target :sample do
  host 'eiel.info'
  path 'foo'
end

具体的には

以下のコマンドを実行した状態で、

ssh eiel.info -L 8010:eiel.info:80

http://localhost:8010/foo へブラウザで表示します。

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request