|asonix e4b6bca023||3 weeks ago|
|docker||3 weeks ago|
|images||8 months ago|
|scss||1 month ago|
|src||3 weeks ago|
|static||8 months ago|
|templates||1 month ago|
|.gitignore||8 months ago|
|Cargo.lock||3 weeks ago|
|Cargo.toml||3 weeks ago|
|LICENSE||8 months ago|
|README.md||8 months ago|
a demo frontend for pict-rs supporting noscript
pict-rs-proxy 0.1.0 USAGE: pict-rs-proxy [OPTIONS] FLAGS: -h, --help Prints help information -V, --version Prints version information OPTIONS: -a, --addr <addr> The address and port the server binds to [env: PICTRS_PROXY_ADDR=] [default: 0.0.0.0:8081] -d, --domain <domain> The scheme, domain, and optional port of the pict-rs proxy server [env: PICTRS_PROXY_DOMAIN=] [default: http://localhost:8081] -u, --upstream <upstream> The url of the upstream pict-rs server [env: PICTRS_PROXY_UPSTREAM=] [default: http://localhost:8080]
Running on all interfaces, port 8081, proxying to localhost:8080
Running locally, port 9000, proxying to localhost:4000
$ ./pict-rs-proxy -a 127.0.0.1:9000 -d localhost:4000 -u localhost:4000
# Create a folder for the files (anywhere works) mkdir ./pict-rs-proxy cd ./pict-rs-proxy mkdir -p volumes/pictrs sudo chown -R 991:991 volumes/pictrs wget https://git.asonix.dog/asonix/pict-rs-proxy/raw/branch/master/docker/prod/docker-compose.yml sudo docker-compose up -d
git clone https://git.asonix.dog/asonix/pict-rs-proxy cd pict-rs-proxy/docker/dev docker-compose up --build
Feel free to open issues for anything you find an issue with. Please note that any contributed code will be licensed under the AGPLv3.
Copyright © 2020 Riley Trautman
pict-rs-proxy is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
pict-rs-proxy is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This file is part of pict-rs.
You should have received a copy of the GNU General Public License along with pict-rs. If not, see http://www.gnu.org/licenses/.