Tree [5fabd1] master /
History



File Date Author Commit
bin 2013-11-13 Yann Orlarey Yann Orlarey [ceac9d] source /etc/profile in build command to ensure ...
makefiles 2014-03-27 Yann Orlarey Yann Orlarey [5fabd1] Added OWL target
osx 2013-11-13 Yann Orlarey Yann Orlarey [d1ee80] Remote compilation mechanism added
Makefile 2013-11-13 Yann Orlarey Yann Orlarey [e49eba] remote compilation mechanism added
README 2013-10-17 Yann Orlarey Yann Orlarey [f5ad1a] README correction concerning library dependencies
faustweb.conf 2014-03-27 Yann Orlarey Yann Orlarey [4b7a69] respawn added to upstart config file in order t...
main.cpp 2014-02-04 Yann Orlarey Yann Orlarey [883dc3] Never stop (can probably be improved)
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
boost
libcryptopp
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