{"id":27171495,"url":"https://github.com/harjjotsinghh/fetchpix","last_synced_at":"2026-04-11T19:04:02.612Z","repository":{"id":266913328,"uuid":"861697031","full_name":"HarjjotSinghh/fetchpix","owner":"HarjjotSinghh","description":"A stock image API which scrapes various stock image websites and returns a valid image URL.","archived":false,"fork":false,"pushed_at":"2024-12-06T23:31:10.000Z","size":163,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-09T08:41:26.075Z","etag":null,"topics":["api","bun","cheerio","docker","docker-compose","elk-stack","filebeat","hacktoberfest","hacktoberfest-accepted","hetzner","hono","locust","node-cache","stock-image","stock-images","swagger","swagger-ui","typescript","winston-logger","worker-pool"],"latest_commit_sha":null,"homepage":"https://fetchpix.one","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/HarjjotSinghh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-09-23T11:13:45.000Z","updated_at":"2024-12-06T23:31:14.000Z","dependencies_parsed_at":"2024-12-07T00:40:37.533Z","dependency_job_id":null,"html_url":"https://github.com/HarjjotSinghh/fetchpix","commit_stats":null,"previous_names":["harjjotsinghh/fetchpix"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HarjjotSinghh/fetchpix","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarjjotSinghh%2Ffetchpix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarjjotSinghh%2Ffetchpix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarjjotSinghh%2Ffetchpix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarjjotSinghh%2Ffetchpix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HarjjotSinghh","download_url":"https://codeload.github.com/HarjjotSinghh/fetchpix/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HarjjotSinghh%2Ffetchpix/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271093141,"owners_count":24697941,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-19T02:00:09.176Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","bun","cheerio","docker","docker-compose","elk-stack","filebeat","hacktoberfest","hacktoberfest-accepted","hetzner","hono","locust","node-cache","stock-image","stock-images","swagger","swagger-ui","typescript","winston-logger","worker-pool"],"created_at":"2025-04-09T08:36:57.212Z","updated_at":"2025-12-30T21:43:31.194Z","avatar_url":"https://github.com/HarjjotSinghh.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![twitter header](https://github.com/user-attachments/assets/34199692-317b-428a-98b6-48dbc34c9e8a)\n\n## [![CC BY-NC 4.0][cc-by-nc-shield]][cc-by-nc]\n\n[![Open Source? Yes!](https://badgen.net/badge/Open%20Source%20%3F/Yes%21/blue?icon=github)](https://github.com/Naereen/badges/)\n[![GitHub stars](https://badgen.net/github/stars/HarjjotSinghh/fetchpix?color=blue)](https://GitHub.com/HarjjotSinghh/fetchpix/stargazers/)\n[![Maintainer](https://badgen.net/badge/maintainer/Harjot%20Singh%20Rana/blue)](https://harjot.pro)\n[![GitHub branches](https://badgen.net/github/branches/HarjjotSinghh/fetchpix?color=blue)](https://github.com/HarjjotSinghh/fetchpix)\n[![GitHub commits](https://badgen.net/github/commits/HarjjotSinghh/fetchpix?color=blue)](https://github.com/HarjjotSinghh/fetchpix/commits/main)\n[![GitHub last commit](https://badgen.net/github/last-commit/HarjjotSinghh/fetchpix?color=blue)](https://github.com/HarjjotSinghh/fetchpix/commits/main)\n[![GitHub issues](https://badgen.net/github/issues/HarjjotSinghh/fetchpix?color=blue)](https://github.com/HarjjotSinghh/fetchpix/issues)\n[![GitHub pull requests](https://badgen.net/github/prs/HarjjotSinghh/fetchpix?color=blue)](https://github.com/HarjjotSinghh/fetchpix/pulls)\n[![GitHub watchers](https://badgen.net/github/watchers/HarjjotSinghh/fetchpix?color=blue)](https://GitHub.com/HarjjotSinghh/fetchpix/watchers/)\n\n[cc-by-nc]: LICENSE\n[cc-by-nc-image]: https://licensebuttons.net/l/by-nc/4.0/88x31.png\n[cc-by-nc-shield]: https://img.shields.io/badge/License-CC%20BY--NC%204.0-lightgrey.svg\n\n# Fetchpix\n\n## Introduction\n\nFetchpix is a simple and lightweight API to fetch random image URLs based on search queries. It leverages modern web\ntechnologies and microservices architecture to provide a scalable and efficient solution for image retrieval.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Table of Contents](#table-of-contents)\n- [Installation](#installation)\n- [Tech Stack](#tech-stack)\n- [Use Cases](#use-cases)\n- [Contribute](#contribute)\n\n## Installation\n\n### Local Setup\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/HarjjotSinghh/Fetchpix.git\n   cd Fetchpix\n   ```\n\n2. Install dependencies:\n\n   ```sh\n   bun install\n   ```\n\n3. Start the development server:\n   ```sh\n   bun run index.ts --watch --hot | pino-pretty\n   ```\n\n### VPS Setup via Docker Compose\n\n1. Clone the repository:\n\n   ```sh\n   git clone https://github.com/HarjjotSinghh/Fetchpix.git\n   cd Fetchpix\n   ```\n\n2. Ensure Docker and Docker Compose are installed on your VPS.\n\n3. Start the services:\n   ```sh\n   docker-compose up --build\n   ```\n\n## Tech Stack\n\n- **Bun**: A fast JavaScript runtime.\n- **Hono**: A small, simple, and fast web framework for the edge.\n- **Axios**: Promise-based HTTP client for the browser and Node.js.\n- **Cheerio**: Fast, flexible, and lean implementation of core jQuery designed specifically for the server.\n- **Prometheus**: An open-source monitoring system with a time series database.\n- **Swagger**: Simplifies API development by providing tools for API documentation.\n- **Elasticsearch**: A distributed, RESTful search and analytics engine.\n- **Kibana**: Visualization tool for Elasticsearch.\n- **Filebeat**: Lightweight shipper for forwarding and centralizing log data.\n- **Node-Cache**: Simple and fast Node.js internal caching.\n- **Winston**: A logger for just about everything.\n\n## Use Case\n\nHere is the use case for the Fetchpix API:\n\n#### Web Design / Prototyping\n\n- Fetch images for use in web design mockups or prototypes.\n- Use random stock images as placeholders in web design mockups.\n\n## Contribute\n\nWe welcome contributions! Please see our [CONTRIBUTING.md](CONTRIBUTING.md) for more details on how to contribute to\nthis project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharjjotsinghh%2Ffetchpix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharjjotsinghh%2Ffetchpix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharjjotsinghh%2Ffetchpix/lists"}