Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/glasnt/ih-aas
ih, as a service.
https://github.com/glasnt/ih-aas
cloud-run-button
Last synced: 3 months ago
JSON representation
ih, as a service.
- Host: GitHub
- URL: https://github.com/glasnt/ih-aas
- Owner: glasnt
- Created: 2019-03-28T04:58:10.000Z (over 5 years ago)
- Default Branch: latest
- Last Pushed: 2021-04-04T00:50:55.000Z (over 3 years ago)
- Last Synced: 2024-06-15T07:32:48.139Z (5 months ago)
- Topics: cloud-run-button
- Language: Python
- Homepage: https://ih-aas.glasnt.com
- Size: 15.6 KB
- Stars: 10
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cloud-run - ih-aas - stitch patterns from image uploads. (Samples and microservices / Fun)
README
# [`ih`](https://github.com/glasnt/ih), as a service.
This code deploys [`ih`](https://github.com/glasnt/ih), as a Cloud Run service.
## Want to deploy your own?
[![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://deploy.cloud.run)
## Local Usage
```shell
git clone https://github.com/glasnt/ih-aas
cd ih-aas
```
Then either:```
python app.py
```or
```shell
docker build --no-cache -t ih-aas . && docker run --rm -p 8080:8080 ih-aas
```## curl
```
curl -F 'image=@/path/to/image.png' http://localhost:8080 -F 'palette=lego' -F 'render=True'
```