Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/dacr/spy

spy web service with API
https://github.com/dacr/spy

api openapi pekko pekko-http

Last synced: about 1 month ago
JSON representation

spy web service with API

Awesome Lists containing this project

README

        

# ![](images/logo-base-32.png) spy service ![tests][tests-workflow] [![License][licenseImg]][licenseLink] [![][SpyMvnImg]][SpyMvnLnk]

It has been deployed on [https://mapland.fr/spy][deployed]

## Quick local start

Thanks to [scala-cli][scl],
this application is quite easy to start, just execute :
```
scala-cli --dep fr.janalyse::spy:1.0.7 -e 'spy.Main.main(args)'
```

## Configuration

| Environment variable | Description | default value |
|----------------------|----------------------------------------|-------------------------|
| SPY_LISTEN_IP | Listening network interface | "0.0.0.0" |
| SPY_LISTEN_PORT | Listening port | 8080 |
| SPY_PREFIX | Add a prefix to all defined routes | "" |
| SPY_URL | How this service is known from outside | "http://127.0.0.1:8080" |
| SPY_STORE_PATH | Where data is stored | "/tmp/spy-data" |

[cs]: https://get-coursier.io/
[scl]: https://scala-cli.virtuslab.org/

[deployed]: https://mapland.fr/spy
[akka-http]: https://doc.akka.io/docs/akka-http/current/index.html

[Spy]: https://github.com/dacr/spy
[SpyMvnImg]: https://img.shields.io/maven-central/v/fr.janalyse/spy_2.13.svg
[SpyMvnLnk]: https://search.maven.org/#search%7Cga%7C1%7Cfr.janalyse.spy

[tests-workflow]: https://github.com/dacr/spy/actions/workflows/scala.yml/badge.svg

[licenseImg]: https://img.shields.io/github/license/dacr/spy.svg
[licenseLink]: LICENSE