Getting Started

DreamTime is open-source and anyone can contribute to their code, improve it, implement ideas or create their own version for private or public use (respecting the license).


This document contains the instructions to prepare the user interface code (DreamTime), for the AI ​​algorithm code visit this page.


DreamTime source code is hosted in these places:


If you are planning to contribute with a Pull Request please do it on GitHub by forking the canary branch.



It will be easier for you to work with the code if you have experience in:


All the source code is in the src folder, this instructions are based on that folder.

Directory Structure

buildFiles used by electron-builder.
electron"Backend" code, must be compiled with Babel.
modulesCode and utilities out of the scope of NuxtJS.
scriptsExternal scripts.
OthersSee NuxtJS Directory Structure.


Install the project dependencies running this command:

yarn install

Development enviroment

Run the following commands to start the dev environment, once prepared you will have the DreamTime window, the DevTools and hot-reload ready.

yarn run start:nuxt

yarn run start:babel

yarn run start:electron


If you are using Visual Studio Code you can run the task Build to open the first two commands in parallel terminals and press F5 to run the last command and open the DreamTime window.


These are the commands that you can run with yarn run <command>:

lintRun eslint to validate that the code complies with our syntax.
start:nuxtRun the NuxtJS development server with hot-reload.
start:babelCompile the electron folder with hot-reload.
start:electronOpen Electron using the compiled code from the previous command.
buildCompile the NuxtJS code, the electron folder, and create a ready-to-distribute executable.
cleanDelete folders with compiled code.
optimizeRun modclean to clean the node_modules folder and decrease the size of the executable.
build:nuxtCompile the NuxtJS code.
build:babelCompile the electron folder.
build:electronCreate a ready-to-distribute executable.
build:devSame as build but without running optimize.
preview:productionCompile the NuxtJS code, the electron folder and open Electron as if it were the production executable.
postinstallIt is executed automatically when running yarn install, for now it is responsible for running patch-package to apply monkey-patches to some libraries.
testShould run a series of tests to verify that the project works as it should, but these tests have not been created. 🤡
deployRun @dreamnet/deploy to upload the ready-to-distribute executable to multiple file providers.