Skip to content

LuanderFarias/croissant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

~ croissant

turns websites into lightweight, cross-platform desktop apps using the operating system native webview in a single command

./croissant https://example.com

~ cli-arguments

parameter description status
--windows forces to package the app into a .exe under development
--mac forces to package the app into a .app under development
--linux forces to package the app into a .elf under development
--frameless removes the app titlebar completely under development

by default the app will always package in the running operating system format

~ manual-usage

  1. clone repo

    git clone https://github.com/luanderfarias/croissant
    
  2. compile

    os command
    windows c++ main.cpp -Iwebview -std=c++11 -mwindows -o croissant.exe
    mac-os c++ main.cpp -Iwebview -std=c++11 -framework WebKit -o croissant
    linux c++ main.cpp -Iwebview -std=c++11 `pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0` -o croissant

    you might need to install the following dependencies: sudo apt-get install libgtk-3-dev libwebkit2gtk-4.0-dev depending on your linux distro

  3. Run

    ./croissant https://example.com
    

create stuff.

About

turn any website into a desktop app

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages