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: about 1 month 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-11-04T23:10:24.196Z (about 1 month ago)
- Topics: cloud-run-button
- Language: Python
- Homepage: https://ih-aas.glasnt.com
- Size: 15.6 KB
- Stars: 11
- 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'
```