.. meta::
:description lang=en: HOWTO: Use GNU Octave in your browser
:description lang=fr: Utiliser GNU Octave dans son navigateur
#######################################
HOWTO: Use GNU Octave in your browser
#######################################
This short article explains two ways to use `GNU Octave `_,
the `world-famous free and open-source software `_,
the most serious alternative to `MATLAB `_
(`SciLab `_ is also a good `FOSS `_ alternative, if you are interested).
Both solutions are free to use, and should work on any modern browser (desktop for sure, mobile not so much).
`octave-online.net `_
------------------------------------------------
A pretty good web-application, kinda *ugly styled*, but work really well.
The script or the figures can be saved on your desktop if neeeded.
`nclab.com `_
------------------------------------
They offer quite a lot of `free to use web-applications `_,
and Octave is one of them: `Octave on NClab.com `_.
It also work pretty well!
.. seealso:: They also offer `LaTeX editing `_, `R coding `_, `Javascript coding `_, and `Python coding `_.
.. warning:: The links to their webapp could change, so if it is broken, you can find it on their `web-applications page `_.
`SAGE Cell `_
--------------------------------------------------------------
SAGE cells are a component of the SAGE project, which allow to embed an editor for different languages, one being GNU Octave, directly in a web page:
.. html::
By following `the instructions to embed it `_.
Thanks to `Harald Shilly `_ for sharing this link with me!
`cocalc.com `_
-----------------------------------
Propose `an online editor for Octave `_.
---------------------------------------------------------------------
Other online interpreters?
--------------------------
I tried to find an easy-to-install Octave interpreter in Javascript (to embed on a webpage here), but found none.
I will keep looking once in a while, and I ever find one, it will be included here.
In the mean time, did you know that there is already two online interpreters on my website, `one for Python `_, `one for OCaml `_ and `one for GNU Plot `_ ?
.. seealso:: `Python (v2.7) online interpreter `_, on *my* website, and even `another one for Python `_.
.. seealso:: `OCaml (v3.12) online interpreter `_, on *my* website.
.. seealso:: `GNU Plot (v4.6.6) online interpreter `_, on *my* website.
.. (c) Lilian Besson, 2011-2021, https://bitbucket.org/lbesson/web-sphinx/