Skip to content

LautyDev/inclupp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“¦ Inclu++ β€” Remote-Aware C++ Preprocessor

Inclu++ (inclupp) is a command-line tool that enhances your C++ workflow by allowing you to #include header files directly from URLs, just like local files.

πŸ”— #include "https://example.com/hello.hpp"
πŸ“₯ Automatically downloaded and compiled with your source code.


✨ Features

  • πŸ” Detects #include directives with URLs
  • πŸ’» Works for both C and C++ source files
  • 🌐 Downloads remote header files on the fly
  • πŸ—‚ Stores them in a temporary directory
  • βš™οΈ Compiles using g++ behind the scenes
  • 🎨 Colorful CLI output with live status messages
  • βœ… Simple and lightweight β€” no setup needed

πŸš€ Quick Start

pip install inclupp
inclupp main.cpp

πŸ§ͺ Example

main.cpp

#include "https://example.com/hello.hpp"

int main() {
    hello();
    return 0;
}
inclupp main.cpp
πŸ”§ Processing source file: main.cpp
πŸ”„ Downloading: https://example.com/hello.hpp
βœ… Saved to: /tmp/tmpabc123/hello.hpp
πŸ”¨ Compiling the processed file...
πŸŽ‰ Compilation successful: main

πŸ”§ Usage

inclupp --version
inclupp <source_file.c or .cpp>

πŸ“¦ Requirements

  • Python 3.6+
  • g++ in PATH
  • Internet connection
  • Python packages: requests, colorama

πŸ“˜ License

MIT License
Β© 2025 LautyDev

About

A CLI tool to preprocess and compile C++ files with remote #includes.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages