Git Product home page Git Product logo

burn-after-reading-download's Introduction

Burn after reading

Oft times you need to send someone a message or a config file and then you don't want it hang over there forever.

This is an open-source dockerized solution to do just that and be in control of your data.

  • A simple server that will serve files(messages) only once. And then burn them.
  • Includes a GUI to upload files (austere and ascetic as a russian soul)
  • Stores data in MongoDB
  • Deployed with a container (on any cloud of your preference)
  • Data is protected with a password with AES encryption

Burn after reading interface

Build and run using Docker out-of-the-box

npm run docker:build
docker-compose up -d

Run (dev):

Mongo DB DEV container

./dev-docker-compose/ holds a config to start mongodb container for dev environment

npm run mongo-container
npm start

Install (AZURE Static Apps)

  1. Create a static app
  2. It will create a pipeline that will sit in .github/workflows (check paths and "build" folder)
  3. Push to branch main and it will automagically deploy

Developing

Install deps:

npm i

Start the mongo container

npm run mongo-container

Start the app:

npm start

A quick docker commands cheatsheet

To build the Docker image:

npm run docker:build

To run the Docker image:

npm run docker:run

To see what Docker images you have locally:

npm run docker:ls

To see what Docker containers you have running:

npm run docker:ps

To stop the container:

npm run docker:stop

This will expose the app on port 3000 Now use it as you wish

http://localhost:3000/admin

burn-after-reading-download's People

Contributors

0xd0a avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.