Skip to main content

ephemeral - Self-destructing messages

Ephemeral is a web application for sharing short messages. Messages can be opened only once, giving an instant feedback to recipient on whether the message was compromised(read by someone else) or not. This makes the app a reasonably secure, and convenient way to share secrets.

Highlights

  • Simple, easy-to-audit code
  • Messages are encrypted at rest

Installing

pip install ephemeral

After installation you can use the ephemeral.sh command to start the application (see below).

Running

Always put this application behind an HTTPS-terminating reverse proxy when exposing to public networks!

Ephemeral uses Redis as the data store. Assuming Redis is running on localhost,

EPHEMERAL_REDIS_HOST=localhost EPHEMERAL_SECRET_KEY=hunter2 ephemeral.sh 0.0.0.0:8080

will start the application listning on port 8080 on all network interfaces.

Point your browser at http://localhost:8080/add to add a message.

Developing

Prerequisites:

  • Python 3
  • Poetry

Initialize a virtualenv with dev dependencies installed:

make develop

Running unit-tests

make test

Starting a development instance of the application

Start the application in development mode with debugging enabled:

make dev-server

Starting/stopping a development Docker stack

The development Docker (Compose) stack includes Redis container and an application container built from source.

Prerequisites:

  • Docker
  • docker-compose
make clean build

make container-image

make compose-up

make compose-ps

Stop and destroy running stack:

make compose-down

Running E2E tests

Start a stack and run Behave tests against it:

make compose-up

make e2e-test

Metadata

Release files for ephemeral 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ephemeral 0.1.5
File Size Uploaded
ephemeral-0.1.5.tar.gz 19.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ephemeral 0.1.5
File Interpreter ABI Platform
ephemeral-0.1.5-py3-none-any.whl Python 3 none any Details

Total release size: 41.8 kB

Release files / ephemeral-0.1.5.tar.gz

Download URL ephemeral-0.1.5.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d8917664b2f4f3af4cd5e856b8c98f69b30cc665e94730a41c26e426909d2f66
BLAKE2b-256 checksum
How to use checksums
d1bf81ab2c20fb1d6e110bcc58d4c367c9e4e296d3e88925b23d4147d3d0cc1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.4 Linux/6.4.10-200.fc38.x86_64

Release files / ephemeral-0.1.5-py3-none-any.whl

Download URL ephemeral-0.1.5-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
813ac410e7d3242d08719824493c590c8894a8de03acc235b55a3c7c00ed6f33
BLAKE2b-256 checksum
How to use checksums
803fec7bb797d1dae6c8ce8229baa27da4d2324d42b93d187832ce5e92901897
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.2 CPython/3.11.4 Linux/6.4.10-200.fc38.x86_64

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 release files

0.1.4

1 release file

0.1.3

1 release file

0.1.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page