Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/amahanna/picsumvision
an interactive graph-based image repository
https://github.com/amahanna/picsumvision
arangodb typescript vision-api
Last synced: 3 months ago
JSON representation
an interactive graph-based image repository
- Host: GitHub
- URL: https://github.com/amahanna/picsumvision
- Owner: aMahanna
- License: mit
- Created: 2021-04-30T16:50:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-01-16T16:52:02.000Z (about 2 years ago)
- Last Synced: 2023-03-05T23:24:54.807Z (almost 2 years ago)
- Topics: arangodb, typescript, vision-api
- Language: TypeScript
- Homepage: https://picsumvision.herokuapp.com
- Size: 7.9 MB
- Stars: 6
- Watchers: 2
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# picsumvision
[![Render](https://img.shields.io/badge/Render-%46E3B7.svg?style=for-the-badge&logo=render&logoColor=white)](https://picsumvision.mahanna.dev/)
[![Last commit](https://img.shields.io/github/last-commit/aMahanna/picsumvision)](https://github.com/aMahanna/picsumvision/commits/main)![Python](https://img.shields.io/static/v1?color=3776AB&style=for-the-badge&logo=python&logoColor=FFD43B&label=python&message=3.6%20%7C%203.7%20%7C%203.8%20%7C%203.9)
[![License](https://img.shields.io/github/license/aMahanna/picsumvision?color=9E2165&style=for-the-badge)](https://github.com/aMahanna/picsumvision/blob/main/LICENSE)
[![Code style: black](https://img.shields.io/static/v1?style=for-the-badge&label=code%20style&message=black&color=black)](https://github.com/psf/black)See it live: [picsumvision.mahanna.dev](https://picsumvision.mahanna.dev/)
An image repository allowing you to:
1. Search for images by keyword or URL
2. Discover images similar to click history
3. Visualize results as a graph networkBuilt with Lorem Picsum Photos, Google Vision, and ArangoDB 🥑
## Developer Setup (est time: 8 minutes)
Note: You can replace `yarn` with `npm run`.
1. `git clone https://github.com/aMahanna/picsumvision.git`
2. `cd picsumvision`
3. `cp .env.example .env`
4. `yarn setup`
5. `python -m venv .venv`
6. Activate Virtual Environment
1. MacOS / Linux: `source .venv/bin/activate`
2. Windows: `.venv/scripts/activate`
7. `pip install -e .[dev]`
8. `docker-compose up -d`
9. `yarn db:onboard`
10. Import Picsum Vision Data
1. Via data restore: `yarn db:restore`
2. Via data insert: `yarn db:populate`
1. Note: requires `GOOGLE_APPLICATION_CREDENTIALS` key
11. `yarn dev`