Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicTheDev authored Aug 15, 2024
1 parent 0084c65 commit 3cee955
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# ClashKing Assets
---

## Features/Stack

- **FastAPI**: Used to serve the files & assets

- **Image Handling (PIL)**: Supports JPEG, PNG, & WebP and can convert between them

- **Cloudflare CDN**: Caches assets for latency & availability

- **Cache-Control**: `Cache-Control` headers, with a default expiration time of 30 days.

---

- **GET `/{file_path:path}`**

Serve an image file, converting it to the appropriate format if necessary. Applies `Cache-Control` headers to ensure efficient caching.

---

## Contribution

Contributions are welcome! Please fork the repository and submit a pull request. Ensure that you adhere to the coding standards and provide clear documentation for any new features.

---

## License

This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

---

## Contact

For any questions or support, please open an issue in the GitHub repository or contact us at [email protected].

0 comments on commit 3cee955

Please sign in to comment.