New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

openscript

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

openscript

The script package manager platform for linux based distributions

Source
npmnpm
Version
1.1.0
Version published
Weekly downloads
15
400%
Maintainers
1
Weekly downloads
 
Created
Source

openscript

Openscript allows users to maintain a linux-based operations system without a deep terminal familiarity.

Website

Backend

The backend of openscript is written using the serverless framework and is maintained by the AWS ecosystem. It exposes a graphql endpoint which is used from the clients to interact with the platform.

GraphQL IDE

NPM CLI client

Use the CLI client to execute and publish your own scripts.

NPM Package

Installation

npm install -g openscript
// OR
yarn global install openscript

Register to the platform

// SIGNUP AND ACTIVATE YOU ACCOUNT
XXXXXX:~$ openscript signup

> Username (E-Mail): xxxxx@mail.com
> Password: 
> LOG: A confirmation code has been sent to xxxxx@mail.com.
> Enter verification code: 099615
> LOG: Account confirmed.

// LOGIN TO YOUR ACTIVATED ACCOUNT
XXXXXX:~$ openscript login

> Username (E-Mail): xxxxx@mail.com   
> Password: 
> LOG: Successfully logged in.

after your successful login you are able to use the additional commands to publish OR update your own scripts.

Publish a script

Here is an example of a simple script:

./foo.yml

# Name of the package
name: foobar

# The script version
version: 0.0.1

# The package description (what kind of problem does it solve ?)
description: This is the foo script assigned to the bar namespace

# The name space of the package. (if not reserved)
namespace: bar # optional

# The commands will be executed as superuser after a user-warning
superuser: false # optional

# Array of scripts which represents to executed command on the users system
execute:
    - echo "hello foo"

use now the following command to test your script on the local system:

XXXXXX:~$ openscript execute ./foo.yml

> hello foo
> LOG: Execution was successful.

finally publish the package using your logged in session:

XXXXXX:~$ openscript publish ./foo.yml

> LOG: Update subscription token...
> Subscription connection closed
> LOG: Script bar/foobar@0.0.1 successfully published.

Feature UI client

The UI client for normal desktop users is not implemented yet, but the UI client is the final goal of the project.

FAQs

Package last updated on 10 Jul 2019

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