Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


Tree [1e549b] master /

File Date Author Commit
bin 2014-05-16 Yann Orlarey Yann Orlarey [3d0546] remove temporary dir at the end
makefiles 2015-01-28 Yann Orlarey Yann Orlarey [ae35a0] Fix wrong extension for csound on Linux
pdfaustextra unknown
tests 2015-01-15 Yann Orlarey Yann Orlarey [392a2f] Better test procedure : <architecture> paramete...
Makefile 2014-09-13 Yann Orlarey Yann Orlarey [8c5614] osxlocal folder with local makefiles (in additi...
README 2013-10-17 Yann Orlarey Yann Orlarey [f5ad1a] README correction concerning library dependencies
faustweb.conf 2014-05-08 Yann Orlarey Yann Orlarey [e226c9] added emscripten in path for upstart. Warning: ...
main.cpp 2015-01-14 Yann Orlarey Yann Orlarey [dc9116] print running environment for debugging purposes
server.cpp 2015-01-13 Yann Orlarey Yann Orlarey [9c86dc] Added new -a (-any-origin) option to add Access...
server.hh 2015-01-13 Yann Orlarey Yann Orlarey [9c86dc] Added new -a (-any-origin) option to add Access...
skeleton 2013-11-29 Yann Orlarey Yann Orlarey [e49fab] init.d skeleton added
utilities.hh 2013-08-06 Yann Orlarey Yann Orlarey [20b08e] added source code from Mike branch but with a s...

Read Me


The goal of this project is to develop a web API for the Faust compiler allowing to do remote compilations.


In order to compile faustweb links against the following libraries:

libarchive 	(sudo apt-get install libarchive-dev)
boost 		(sudo apt-get install libboost-filesystem-dev  libboost-program-options-dev)
libcryptopp (sudo apt-get install libcrypto++-dev)

Make sure to download the current development trunk of all these libraries.

Then, the standard

mkdir build && cd build
sudo make install

To use FaustWeb 

./faustweb  starts faustweb on port 8888

from a browser :
select a file kisana.dsp and send it

Le fichier envoyé peut être soit un .dsp soit une archive .zip contenant un .dsp et des .lib

now use the returned <key> for example cf55531c580cc7d3485a5161259f0571d3e6bdef

// API indépendamment de toute architecture
http://localhost:8888/<key>/src.cpp		renvoie le fichier 'src.cpp' contenant le programme cpp résultant
http://localhost:8888/<key>/svg.zip		renvoie une archive 'svg.zip' contenant un dossier kisana-svg avec tous les fichiers .svg
http://localhost:8888/<key>/mdoc.zip	renvoie une archive 'mdoc.zip' contenant un dossier kisana-mdoc avec toute la documentation automatique

// API propre à chaque architecture
http://localhost:8888/<key>/<plateforme>/<architecture>/binary.zip		renvoie l'archive 'binary.zip' contenant le ou les binaires
http://localhost:8888/<key>/<plateforme>/<architecture>/src.cpp			le source avec l'architecture

// liste des architectures disponibles pour chaque plateforme
pour osx :

// forger un port avec curl
curl -F'file=@"/Users/yannorlarey/Develop/faust/examples/highShelf.dsp";filename="highShelf.dsp"'  http://localhost:8080/filepost