ioBroker / ioBroker.proxy

This adapter allows to access other web servers over web adapter.
MIT License
6 stars 6 forks source link
iobroker proxy web

Logo

ioBroker.proxy

Number of Installations Number of Installations NPM version Downloads Tests

NPM

Usage

Allows to access defined URLs or local files via one web server.

Specified routes will be available under http://ip:8082/proxy.0/context/.... Of course port, protocol, proxy.0, can variate depends on settings.

Configuration

Sample settings

Context URL Description
admin/ http://localhost:8081 access to admin page
router/ http://192.168.1.1 access to local router
cam/ http://user:pass@192.168.1.123 access to webcam (e.g. call http://ip:8082/proxy.0/cam/web/snapshot.jpg)
dir/ /tmp/ access to local directory "/tmp/"
dir/ tmp/ access to local directory "/opt/iobroker/tmp"
file.jpg /tmp/picture.jpg access to local file "/tmp/picture.jpg"

Not all devices can be accessed via proxy.

Some devices wants to be located in the root http://ip/ and cannot run under http://ip/proxy.0/context/.

You can read more about context here

Additionally the user can define the route path for proxy requests.

Changelog

1.3.2 (2022-10-01)

1.3.1 (2022-06-02)

1.3.0 (2022-05-30)

1.2.2 (2021-03-07)

1.2.1 (2020-04-14)

1.2.0 (2020-03-08)

1.1.1 (2019-07-02)

1.0.3 (2018-07-14)

1.0.2 (2018-06-30)

1.0.1 (2018-03-01)

1.0.0 (2017-10-09)

0.2.0 (2017-03-13)

0.0.1 (2017-01-09)

License

The MIT License (MIT)

Copyright (c) 2017-2022 bluefox dogafox@gmail.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.