Tree [ea75dd] master /
History



File Date Author Commit
bin 2014-05-16 Yann Orlarey Yann Orlarey [3d0546] remove temporary dir at the end
makefiles 2014-09-13 Yann Orlarey Yann Orlarey [8c5614] osxlocal folder with local makefiles (in additi...
pdfaustextra unknown
tests 2014-10-05 Yann Orlarey Yann Orlarey [ea75dd] added test script
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 2014-10-05 Yann Orlarey Yann Orlarey [0499b1] fixed missing sleep
server.cpp 2014-03-26 Yann Orlarey Yann Orlarey [ce0120] Panic callback added
server.hh 2013-10-21 Yann Orlarey Yann Orlarey [c64c56] reformatting of the code using new format targe...
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

						FaustWeb
						========

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

LIBRARIES

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

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

Then, the standard

mkdir build && cd build
../configure
make
sudo make install

To use FaustWeb 
================

./faustweb  starts faustweb on port 8888

from a browser :
================
http://localhost:8888/
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 :
	osx/coreaudio-qt	
	osx/jack-qt				
	osx/supercollider	
	osx/vsti
	osx/csound		
	osx/max-msp		
	osx/puredata	
	osx/vst


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