Skip to content

Lightweight C++ framework to handle heavy weight files in the Cloud

License

Notifications You must be signed in to change notification settings

snapverse/cdn-framework

Repository files navigation

🗃️ 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

sh ./scripts/build

How to Run it

It is simple, just run this command

./build/CdnFramework --port 8080

And for requests with a curl it's ok

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).

About

Lightweight C++ framework to handle heavy weight files in the Cloud

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published