https://github.com/withdustin/targeek-image-server
Image server, optimized with sharp, saved on AWS S3
https://github.com/withdustin/targeek-image-server
image-processing sharp webp
Last synced: 10 months ago
JSON representation
Image server, optimized with sharp, saved on AWS S3
- Host: GitHub
- URL: https://github.com/withdustin/targeek-image-server
- Owner: withDustin
- Created: 2019-03-12T09:41:20.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-03-11T11:28:22.000Z (11 months ago)
- Last Synced: 2025-03-11T12:30:02.202Z (11 months ago)
- Topics: image-processing, sharp, webp
- Language: TypeScript
- Homepage:
- Size: 228 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
Awesome Lists containing this project
README
# Targeek Image Server
An image server that optimizes images by sharp and upload them to AWS S3. Made to serve a huge amount of requests.
[](https://circleci.com/gh/targeek/targeek-image-server)
[](http://makeapullrequest.com)
[](https://github.com/targeek/targeek-image-server/graphs/commit-activity)
[](https://github.com/prettier/prettier)
[](https://hub.docker.com/r/targeek/targeek-image-server)
[](https://github.com/ellerbrock/typescript-badges/)
## Usage
Use this docker image [targeek/targeek-image-server](https://hub.docker.com/r/targeek/targeek-image-server)
```bash
docker pull targeek/targeek-image-server
# or
docker run -p 4000:4000 -e REDIS_URI=redis://redis-uri targeek/targeek-image-server
```
## Development
1. Clone this repository
2. Install dependencies
```bash
yarn install
```
3. Setup environment variables by edit `.env`, `.env.development`, `.env.production`. You can see the list of environment variables in the `src/types/modules.d.ts` file.
4. Run
```bash
# Run in development mode
yarn start
# Run in production mode
yarn build
yarn start:production
```
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
**Working on your first Pull Request?** You can learn how from this _free_ series [How to Contribute to an Open Source Project on GitHub](https://egghead.io/series/how-to-contribute-to-an-open-source-project-on-github)
## License
[MIT](https://choosealicense.com/licenses/mit/)