https://github.com/jcubic/uncp
UNsplash Cache Proxy
https://github.com/jcubic/uncp
api cache proxy unsplash unsplash-api
Last synced: 4 months ago
JSON representation
UNsplash Cache Proxy
- Host: GitHub
- URL: https://github.com/jcubic/uncp
- Owner: jcubic
- License: gpl-3.0
- Created: 2022-01-27T20:33:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-04-13T15:43:00.000Z (about 1 year ago)
- Last Synced: 2025-10-08T21:18:07.744Z (8 months ago)
- Topics: api, cache, proxy, unsplash, unsplash-api
- Language: PHP
- Homepage: https://unsplash.just.net.pl/?q=cat&s=2
- Size: 26.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [UNsplash API Cache Proxy](https://github.com/jcubic/uncp)
```
_ _ _ __ ___ _ __
| | | | '_ \ / __| '_ \
| |_| | | | | (__| |_) |
\__,_|_| |_|\___| .__/
|_|
```
PHP file that acts as a proxy for [Unsplash API](https://unsplash.com/developers).
It uses the SQLite database as a cache. You can use this file to use Unsplash API
and not worry about rate limiting. 50 per hour for demo apps.
This project was created as a helper for technical interviews and Live Coding sessions.
* [Check online demo](https://codepen.io/jcubic/pen/PoOYwER?editors=0010)
* [API example](https://unsplash.just.net.pl/?q=kitten&s=12)
## Usage
To use the script rename `config.json.sample` to `config.json` and add your Access
key. To get the Unsplash API key use [this link](https://unsplash.com/developers)
and register as a developer. CACHE_TIME is the number of minutes for cache (default 2 hours).
## License
Released under GPL v3 or later
Copyright (C) 2022 [Jakub T. Jankiewicz](https://jakub.jankiewicz.org)