Skip to content

Repository files navigation


Super Dollop

Super Dollop can encrypt your files and notes by your own GPG key and save them in S3 or minIO to keep them safe and portability, also you can use Super Dollop for encrypt your file quickly to print it. So with Super Dollop you'll solve your keep your notes with security problem easily with Gopher. By the way if you want to encrypt your file you can print it directly to your terminal with -p easily.

list-command print
dollop list

Requirements

  • Go >= 1.22
  • MinIO
  • Core dependencies: gnupg

Copy .env.example to .env and fill in your values, or export the variables in your shell:

export MINIO_ENDPOINT=127.0.0.1:9000
export MINIO_ACCESS_KEY=admin
export MINIO_SECRET_KEY=secretadmin
export MINIO_GPG_ID=GPG-ID
export MINIO_BUCKET_NAME=dollop-files

Installation

Install gnupg

sudo apt-get install gnupg

Get your MinIO container.

docker-compose.yml

version: "3"
services:
  s3:
    image: "minio/minio"
    hostname: "storage"
    restart: "no"
    volumes:
      - data:/data
    ports:
      - "9000:9000"
      - "9001:9001"
    entrypoint: ["minio", "server", "/data","--console-address",":9001"]
    networks:
      - local
volumes:
  data:

networks:
  local:
// Pull minio/mc
docker pull minio/mc

// Run pulled image with docker-compose.yml file
docker-compose up

Give first gas to Super Dollop

// clone the super-dollop repository
git clone https://github.com/jack5341/super-dollop && cd super-dollop

// try to run list command
go run . list

Usage

dollop [FLAGS] [OPTIONS]
COMMANDS:
    completion  generate the autocompletion script for the specified shell
    dec         Decrypt a stored note or file and print it
    delete      Delete a stored note or file
    enc         Encrypt a note or file and store it
    help        Help about any command
    list        List your encrypted notes and files

Cli Schema

Commands Flags
dec -n --note, -f --file
delete -n --note, -f --file
enc -n --note, -f --file, -p --print
list —

Feedback

If you have any feedback, please reach out to us at nedim.akar53411@gmail.com

License

Apache-2.0

About

Encrypt your files or notes by your GPG key and save to MinIO or AWS S3 easily!

Topics

Resources

Stars

56 stars

Watchers

2 watching

Forks

Releases

Used by

Contributors

Languages