npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

soletta-dev-app

v0.0.7

Published

Soletta Development Application provides a web-based environment where developers can write, visualize, modify, run, test and debug their Soletta FBP programs. The Soletta Development Application is supposed to run on your target board and it then exposes

Downloads

3

Readme

Build Status npm version

Soletta Development Application

Soletta Development Application provides a web-based environment where developers can write, visualize, modify, run, test and debug their Soletta FBP programs. The Soletta Development Application is supposed to run on your target board and it then exposes the development environment through a web server application based on node.js.

FBP stands for Flow-Based Programming, which allows the programmer to express business logic as a directional graph of nodes connected to type-specific ports.

Soletta Project is a framework for making IoT devices. With Soletta Project's libraries developers can easily write software for devices that control actuators/sensors and communicate using standard technologies. It enables adding smartness even on the smallest edge devices.

If you have any question or want to propose any a change contact the soletta project on github: https://github.com/solettaproject/.

Depedencies

  • soletta
  • nodejs
  • npm
  • bower
  • systemd 216 or newer
  • graphviz

Dependencies Installation

Install Soletta

To get soletta and how to install click here.

Install nodejs, npm and graphviz

To install on common linux distros:

Fedora:
    yum install nodejs npm graphviz
Arch:
    pacman -S nodejs npm graphviz
Ubuntu:
    apt-get install nodejs npm graphviz
Install bower (as root):
    npm install -g bower

Soletta Developmet Application Installation

Automatic Installation (Recommended):

To install clone github repo or install it using npm:

    npm install soletta-dev-app

Run the install script in the root folder of the Solletta Development Application project

    ./install.sh

Manual Installation:

Clone the github repository and run the followings

Install back-end depedencies (as server user):
    npm install
Install front-end depedencies (as server user):
    bower install
Install services

Install the following service in your systemd:

These services can be found in the folder scripts/units/.

The service soletta-dev-app-server needs to be renamed and edited before installing in the systemd.

Firstly, it is necessary to configure the server PATH inside of the service.

Open the service and replace the word PATH to the full path of the Soletta Development Application

Secondly, install the service with the name soletta-dev-app-server.service (Remove the .in suffix)

Starting server

Run the following command:

    systemctl start soletta-dev-app-server.service

If start the server with systemd is unwanted, then run the following:

    node server/app.js

Depending of the nodejs installation the command might be:

    nodejs server/app.js

Server configuration

Default sever configuration file can be found in path server/configuration.json.

The server accepts a configuration file as a parameter, to do it just pass the path of the custom configuration file when running the server for example:

    node server/app.js /tmp/my_custom_configuration.json

If no argument is provided it will get the default server configuration file.

Configuration attributes

server_port:
     The port listened by the server. Default: 80

server_output:
      Choose if you want the server to show its output.
      Default: true

server_user_home_dir:
      Choose where to store user repos.
      Default: /tmp

server_tmp_dir:
      Choose where to store tmp files.
      Default: /tmp

sessions_dir:
      Choose where to store sessions files.
      Default: ./sessions
      If the folder does not exists, it will be created.
      Where ./ means root of the server folder.

journal_access:
      Allows users to access the journal tab.
      Default: true

cheat_sheet_access:
     Allows users to access the cheat sheet tab.
      Default: true

run_fbp_access:
      Allows users to run fbp files on server sheet tab.
      Default: true

login_system:
      Enable the accounts system.
      (TODO)

image_build:
      Allows users to generate image for target platform.
      (TODO).

cheat_sheet_url:
      Choose from what url you want to load cheat sheet.
      Default: http://solettaproject.github.io/docs/nodetypes.

journal_refresh_period:
      The journal refresh interval, in mileseconds
      Default 3000 ms

fbp_service_status_refresh_period:
      The refresh period of the fbp runer service status, in miliseconds.
      Default 1000 ms

run_dialog_refresh_period:
      The refresh period of the output dialog, where stdout/stderr of
      running fbp file is displayed.
      Default: 1000 ms

syntax_check_refresh_period:
      The refresh period of the syntax checker
      Default: 1100 ms

sessions_system:
      Enables system that allows multiple running sessions
      Default: false

Whenever you make a change in the configuration file the server needs to be restarted.