Installing mySam

Try live

You can try a live version of mySam at It runs like a normal website and stores all data locally in the browser. It only includes the basic plugins.


The mysam NodeJS module comes with a command line tool that starts a simple webserver and hosts a copy of mySam locally:

npm i mysam -g

Once running, you can use mySam at localhost:5050. The server will also host the current folder which allows to customize your version of mySam. See the writing plugins chapter for more information.

In browser

The mysam NodeJS module is just a convenience wrapper for starting a webserver and hosting mySam's code. Since it runs completely in the browser, you do not need NodeJS. mySam can be initialized as a normal HTML page like this:

<!DOCTYPE html>
  <link href="//,400italic" rel="stylesheet" type="text/css">
  <link rel="stylesheet" href="//">
  <script src="//"></script>
  <link rel="stylesheet" href="//^0.2.0/dist/styles/styles.css">
  <div id="content" class="full"></div>
  <script src="//^0.2.0/dist/mysam.js"></script>
    var sam = mysam(document.getElementById('content'));

results matching ""

    No results matching ""