Skip to content

cli to download/upload/list files on ephemeralfiles webservice

License

Notifications You must be signed in to change notification settings

ephemeralfiles/eph

Repository files navigation

GitHub release Go Report Card GitHub Downloads GoDoc License

eph

eph is the official client for https://api.ephemeralfiles.com.

Getting started

Install

Install from the release binary.

$ mkdir $HOME/.bin
$ curl -L https://github.com/ephemeralpfiles/eph/releases/download/0.1.0/eph > $HOME/.bin/eph
$ chmod +x $HOME/.bin/eph
$ # add $HOME/.bin in your PATH
$ export PATH=$HOME/.bin:$PATH
$ # Add the new PATH to your .bashrc
$ echo 'export PATH=$HOME/.bin:$PATH' >> $HOME/.bashrc

Configure

  • First of all, you need to create an account on https://api.ephemeralfiles.com
  • Generate a token in your account
  • Use the generated token to configure the client
$  eph config -t "generated-token"
Configuration saved

You should be able to use the client. Check with this command:

$ eph check
Token configuration:
  email: ********
  expiration Date: 2025-07-02 21:39:26
Box configuration:
  capacity: 5120 MB
  used: 0 MB
  remaining: 5120 MB