Giter VIP home page Giter VIP logo

hemmelig-cli's Introduction

Hemmelig CLI

With this CLI you can use the API from https://hemmelig.app to create secret URLs on the fly.

Features

  • Pipe data to Hemmelig
  • Set a password for the secret URL
  • Adjust the time to live (TTL) for the secret
  • Override the URL if you host Hemmelig yourself

Usage

Install the binary (windows, osx, linux) from https://github.com/HemmeligOrg/hemmelig-cli/releases, or go directly to the build the binary manually step.

# Example
cat your_secret_file.txt | hemmelig --password=cantguessthislol
# The secret URL: https://hemmelig.app/secret/0-ii79E5tViCv6OBPEmzC/talented_RU4NfXNvxTLJAf1R_QFtp
NAME:
   [he`m:(ษ™)li] - Create a secret URL directly from your CLI.

USAGE:
   cat your_secret_file.txt | hemmelig --password=cantguessthislol
   Or just pass it as the first argument: hemmelig "This is my secret" --password=secret

COMMANDS:
   help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --password value, -p value  Set a password to protect the secret
   --ttl value, -t value       Secret expiration time in seconds. 0 - 605800 seconds. (default: "14400")
   --url value, -u value       Override the Hemmelig app URL if you host it yourself (default: "https://hemmelig.app/")
   --help, -h                  show help (default: false)

COPYRIGHT:
   (c) 2022 Hemmelig.app

Get it up and running [DEV]

# Install dependencies
go install

# By using the go binary directly
go run main.go

Build the binary manually

To use the bleeding edge codebase, this is the way.

# Build binary
go build -o hemmelig

chmod +x hemmelig

mv hemmelig /usr/local/bin

hemmelig "my secret text"

Disclaimer

Use this tool at your own risk. The owner of this repository is not responsible for its usage.

LICENSE

See LICENSE

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.