Menu

Tree [0d8328] master /
 History

HTTPS access


File Date Author Commit
 bin 2016-09-21 Yann Orlarey Yann Orlarey [5b30dc] OSX server now macfaust.grame.fr
 clientinterface 2015-05-05 Stephane Letz Stephane Letz [175d81] Correct fw_get_available_targets.
 makefiles 2016-05-08 Yann Orlarey Yann Orlarey [0f541a] Fix missing source code and diagrams
 pdfaustextra 2014-09-12 Yann Orlarey Yann Orlarey [bbd2b8] Add pdfaustextra files
 tests 2016-03-05 Yann Orlarey Yann Orlarey [f0cf49] Clean folder before running the test
 Makefile 2014-09-13 Yann Orlarey Yann Orlarey [8c5614] osxlocal folder with local makefiles (in additi...
 README 2014-09-12 Yann Orlarey Yann Orlarey [bbd2b8] Add pdfaustextra files
 faustweb.conf 2014-05-08 Yann Orlarey Yann Orlarey [e226c9] added emscripten in path for upstart. Warning: ...
 main.cpp 2016-08-27 Yann Orlarey Yann Orlarey [555ba4] Switched to Allow-Origin by default
 server.cpp 2016-10-21 Yann Orlarey Yann Orlarey [0d8328] Fix Bug
 server.hh 2015-05-05 Stephane Letz Stephane Letz [f49ee0] Cleanup.
 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
MongoDB Logo MongoDB