Old 07-23-2018, 02:40 PM   #1
-R-
Human being with feelings
 
-R-'s Avatar
 
Join Date: Mar 2010
Posts: 305
Default How can we create a custom web interface??

Hi all,

I've come across this post from White Tie,
https://forum.cockos.com/showthread.php?t=188151

...and realized it was possible to create custom web interfaces. I'm pretty comfortable with html, javascript, css, etc...But i can't find any information on how to get started, neither in the latest version of the user manual, neither on this forum.

Could someone please send me links to relevant documentation?


Things I'm looking for:
-In what format should the final product be?(separate files, specific extension, etc...)
-How to make it available from your phone/tablet?
-Are all reaper control/actions avaible for control in your web interface?


Thank you so much for any information!
-R- is offline   Reply With Quote
Old 07-23-2018, 03:52 PM   #2
X-Raym
Human being with feelings
 
X-Raym's Avatar
 
Join Date: Apr 2013
Location: France
Posts: 5,788
Default

See this thread:
https://forum.cockos.com/showthread.php?t=203597

Also, there is various exemples ccessible via Google:
https://gist.github.com/cfillion/f35...8b645adb709202
X-Raym is offline   Reply With Quote
Old 07-23-2018, 11:19 PM   #3
cfillion
Human being with feelings
 
cfillion's Avatar
 
Join Date: May 2015
Location: Québec, Canada
Posts: 2,668
Default

Quote:
Originally Posted by -R- View Post
-In what format should the final product be?(separate files, specific extension, etc...)
Custom files goes into the reaper_www_root subdirectory in the resource directory. Currently, only .htm*, .js, .css, .jpg, .png, .gif, .txt, .xml and .svg (case insensitive) are served with the correct mime type. Everything else is sent as application/octet-stream. Otherwise there are no enforced file format rules.

Quote:
Originally Posted by -R- View Post
-How to make it available from your phone/tablet?
Nothing REAPER-specific.

Quote:
Originally Posted by -R- View Post
-Are all reaper control/actions avaible for control in your web interface?
All main section actions (including custom actions and scripts) are available from web interfaces. There are also endpoints for getting/setting information in/out of REAPER. They are documented in main.js at the root.

main.js contains the documentation and a basic library for communicating with REAPER. You can use it or write your own.

Last edited by cfillion; 07-24-2018 at 12:16 AM.
cfillion is offline   Reply With Quote
Old 07-24-2018, 09:47 AM   #4
-R-
Human being with feelings
 
-R-'s Avatar
 
Join Date: Mar 2010
Posts: 305
Default

Awesome! Thanks a lot to both of you.
I'm surprised I didn't find the thread mentionned above…

I'll see how far I can go from there,
THANKS again!
-R- is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:39 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2019, vBulletin Solutions Inc.