Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dorky

Package Overview
Dependencies
Maintainers
0
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dorky

DevOps Records Keeper.

  • 2.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
3
increased by50%
Maintainers
0
Weekly downloads
 
Created
Source

dorky

     __            __
 .--|  .-----.----|  |--.--.--.
 |  _  |  _  |   _|    <|  |  |
 |_____|_____|__| |__|__|___  |
                        |_____|

DevOps Records Keeper

dorky npm

Made with love in India && javascript

Let us assume that we need to create a project.

The project obviously contains some code and some secret variables like database information, API keys, etc. This data cannot be shared on public VCS (GitHub), but at times is required to be accessible remotely to be shared among reliable sources.

Anyhow, we shall store it on a private storage, using dorky, that stores it on a S3 or Google-Drive.

AWS S3

Steps to use with S3:

Create a S3 bucket, AWS_ACCESS_KEY and AWS_SECRET_KEY.

Dorky Usage

Please use your own repository, this repository sample_project is just for demonstration.

To list files in the project.
  1. Initialize dorky setup in the root folder of your project, using dorky --init aws.
  2. List the files using dorky --list.

    This command will not list the files that are excluded in .dorkyignore.

To push files to S3 bucket.
  1. Initialize dorky setup in the root folder of your project, using dorky --init aws.
  2. List the files using dorky --list, (make sure to add excluded file or folder patterns to .dorkyignore, to minimize the list).
  3. Add files to stage-1 using dorky --add file-name.
  4. Push files to S3 bucket using dorky --push.
To remove a file from project.
  1. Remove files using dorky --rm file-name. [Removes file from stage-1 ]
  2. Push files to S3 bucket using dorky --push. [Removes file from S3 bucket ]
To pull files from S3 bucket.
  1. Use dorky --pull to pull the files from S3 bucket.

Google Drive

Steps to use with Google Drive:

Dorky Usage

Please use your own repository, this repository sample_project is just for demonstration.

To list files in the project.
  1. Initialize dorky setup in the root folder of your project, using dorky --init google-drive.
  2. List the files using dorky --list.

    This command will not list the files that are excluded in .dorkyignore.

To push files to Google Drive.
  1. Initialize dorky setup in the root folder of your project, using dorky --init google-drive.
  2. List the files using dorky --list, (make sure to add excluded file or folder patterns to .dorkyignore, to minimize the list).
  3. Add files to stage-1 using dorky --add file-name.
  4. Push files to Google Drive using dorky --push.
To remove a file from project.
  1. Remove files using dorky --rm file-name. [Removes file from stage-1 ]
  2. Push files to Google Drive using dorky --push. [Removes file from Google Drive ]
To pull files from Google Drive.
  1. Use dorky --pull to pull the files from Google Drive.

To-Do

[ ] Add stages for variables. [ ] Convert to TypeScript.

Keywords

FAQs

Package last updated on 13 Oct 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc