https://github.com/mhsattarian/archillect-api
Archillect API, built completely using Cloudflare workers!
https://github.com/mhsattarian/archillect-api
api archillect art cloudflare-workers images serverless
Last synced: 12 months ago
JSON representation
Archillect API, built completely using Cloudflare workers!
- Host: GitHub
- URL: https://github.com/mhsattarian/archillect-api
- Owner: mhsattarian
- License: apache-2.0
- Created: 2020-06-18T16:12:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-23T11:07:36.000Z (over 5 years ago)
- Last Synced: 2023-03-06T03:21:03.433Z (about 3 years ago)
- Topics: api, archillect, art, cloudflare-workers, images, serverless
- Language: JavaScript
- Homepage: https://archillect.mhsattarian.workers.dev/
- Size: 192 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE_APACHE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Archillect API
[](https://archillect.mhsattarian.workers.dev/)
[Archillect](https://archillect.com) (Archive + Intellect) is an awesome AI aimed to discover and share stimulating visual contents (images and GIFs).
[Archillect API](https://archillect.mhsattarian.workers.dev/) uses [Cloudflare workers](https://workers.cloudflare.com/) as an Intermediate layer to add the following options to the platform:
- [`:id/img`](https://archillect.mhsattarian.workers.dev/1/img) endpoint to access raw image files
- `Download` button on image pages to access above endpoint more easily
- [`/api/last`](https://archillect.mhsattarian.workers.dev/api/last) api endpoint to fetch the last archillect image ID
- [`/api/random`](https://archillect.mhsattarian.workers.dev/api/random) api endpoint to fetch a random raw image
so Archillect API is actually exactly as Archillect website, with only the above few modifications.
Also, contents are hosted on tumblr so images are not actually raw, cause highest quality availeble to public is somewhere around `1280px` ([more details](https://stackoverflow.com/a/16836223/5863267)) as images width.