https://github.com/snapverse/cdn-framework
Lightweight C++ framework to handle heavy weight Cloud files
https://github.com/snapverse/cdn-framework
cdn content-delivery-network cpp17 framework
Last synced: 6 months ago
JSON representation
Lightweight C++ framework to handle heavy weight Cloud files
- Host: GitHub
- URL: https://github.com/snapverse/cdn-framework
- Owner: snapverse
- License: lgpl-2.1
- Created: 2024-12-29T03:46:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-10T20:13:39.000Z (over 1 year ago)
- Last Synced: 2025-01-10T21:23:47.844Z (over 1 year ago)
- Topics: cdn, content-delivery-network, cpp17, framework
- Language: C++
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🗃️ C++ Cdn Framework
This project is a C++-based API designed to streamline access to and processing of files stored in various cloud services such as Dropbox, Google Drive, and others. The API provides a single endpoint through which users can retrieve files and apply various transformations or optimizations, all via query parameters.
The goal is to make resource handling more efficient and versatile without requiring specialized graphic or document-editing tools like Photoshop or Microsoft Word. While it does not aim to replace such tools, this API offers a lightweight solution for specific processing tasks directly in the cloud, reducing the need for heavy downloads or manual interventions.
Table of Contents
Features
1. Cloud Integration:
- Supports retrieving files from multiple cloud storage services
2. File Processing Options:
-
Images:
- Compression to reduce file size
- Format conversion (e.g., PNG to JPEG)
- Color filters (e.g., grayscale, sepia)
-
Documents:
- Compression
- Format conversion (e.g., PDF to DOCX)
3. Simple Usage:
- Access all functionality through a single endpoint
- Customize processing through query parameters
Requeriments
How to Build
I already made all the build process, you just need to run the file
```shell
sh ./scripts/build
```
How to Run it
It is simple, just run this command
```shell
./build/CdnFramework --port 8080
```
And for requests with a curl it's ok
```shell
curl -X GET 127.0.0.1:8080
```
Useful Resources
Tested with
vcpkg
```
vcpkg package management program version 2024-12-09-1005b78fa1bf1dde1a20c2734cba4ea61ca94d9a
See LICENSE.txt for license information.
```
clang++
```
Homebrew clang version 19.1.6
Target: x86_64-apple-darwin23.6.0
Thread model: posix
InstalledDir: #
Configuration file: #
```
cmake
```
cmake version 3.31.3
CMake suite maintained and supported by Kitware (kitware.com/cmake).
```