#aggregator #collections #collection #path

bin+lib pict-rs-aggregator

A simple image aggregation service for pict-rs

33 releases

0.5.0-alpha.1 Jul 15, 2023
0.4.0-rc.2 May 25, 2023
0.2.0-beta.2 Jan 29, 2023
0.2.0-beta.1 Sep 29, 2022
0.1.16 Nov 25, 2021

#324 in HTTP server

Download history 64/week @ 2023-05-25 2/week @ 2023-06-01 34/week @ 2023-06-15 1/week @ 2023-06-22 58/week @ 2023-06-29 7/week @ 2023-07-06 41/week @ 2023-07-13 7/week @ 2023-07-20 9/week @ 2023-07-27 2/week @ 2023-08-03 6/week @ 2023-08-10 23/week @ 2023-08-17 23/week @ 2023-08-24 67/week @ 2023-09-07

113 downloads per month




a simple image aggregator for pict-rs



$ pict-rs-aggregator -h
A simple image aggregation service for pict-rs

Usage: pict-rs-aggregator [OPTIONS]

  -a, --addr <ADDR>
          The address and port the server binds to [env: PICTRS_AGGREGATOR_ADDR=] [default:]
  -u, --upstream <UPSTREAM>
          The url of the upstream pict-rs server [env: PICTRS_AGGREGATOR_UPSTREAM=] [default: http://localhost:8080]
  -d, --database-path <DATABASE_PATH>
          The path to the database [env: PICTRS_AGGREGATOR_DATABASE=] [default: sled/db-0-34]
  -s, --sled-cache-capacity <SLED_CACHE_CAPACITY>
          The amount of RAM, in bytes, that sled is allowed to consume. Increasing this value can improve performance [env: PICTRS_AGGREGATOR_SLED_CACHE_CAPACITY=] [default: 67108864]
  -c, --console-event-buffer-size <CONSOLE_EVENT_BUFFER_SIZE>
          The number of events to buffer in console. When unset, console is disabled [env: PICTRS_AGGREGATOR_CONSOLE_EVENT_BUFFER_SIZE=]
  -o, --opentelemetry-url <OPENTELEMETRY_URL>
          URL for the OpenTelemetry Colletor [env: PICTRS_AGGREGATOR_OPENTELEMETRY_URL=]
  -h, --help
          Print help information
  -V, --version
          Print version information


Running on all interfaces, port 8082, aggregatoring to localhost:8080

$ ./pict-rs-aggregator

Running locally, port 9000, aggregatoring to localhost:4000, with a database in /tmp

$ ./pict-rs-aggregator -a -u localhost:4000 -d /tmp/


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 © 2021 Riley Trautman

pict-rs-aggregator 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-aggregator 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/.


~1M SLoC