🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis
Socket
Book a DemoInstallSign in
Socket

courriel

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

courriel

`Courriel` is a "_peer-to-peer messaging system_", i.e., it does not require a central server.

latest
Source
npmnpm
Version
2.1.2
Version published
Maintainers
1
Created
Source

Courriel

Courriel is a "peer-to-peer messaging system", i.e., it does not require a central server.

Project courriel is split into two parts:

  • User Interface: Graphical User Interface (in html/css/js, or rather jade/css/coffee) to be execuded in a browser.

  • Local Server: A server usually running on a client device whose role is to keep in sync with peers. Its role is

    • to initialize, maintain, and provide to the user interface the data
    • to keep in sync with peers

Project source files organization

The project source files are in src/

  .
  ├── client/index.coffee - user interface code (via `browserify` -> `public/js/courriel.js`)
  ├── index.coffee        - local server code
  ├── Peers.coffee        - communication/synchronisation between peers
  ├── Etat.coffee         - database initilization and api 
  ├── node_modules/...    - dependences
  ├── package.json        - project file
  ├── public              - files in `public/*` are served to the client "as is"
  │   ├── style.css
  │   ├── favicon.ico
  │   ├── css/...         - generated with `npm run jquery-ui-css`
  │   └── js/...          - generated with `npm run build`
  └── views/courriel.jade - `jade` template used to generate user interface `html`

Run the app

Do:

> git clone https://github.com/fraczak/courriel.git
> cd courriel
> npm install
> npm run jquery-ui-css
> npm run build
> npm start

Then go to: http://localhost:8888/

FAQs

Package last updated on 18 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts