icon

手紙

Tegami (手紙) is a small web app for writing and self-hosting password protected letters and unlisted blog posts. Writing long well thought out messages in the DM feature of most social media apps is usually cumbersome and awkward, Tegami provides the feature richness of a markdown editor, with the discreteness of a direct message. It's just a letter with a lock.

Usage

On the home page if you're not provided a link, you can input a letter ID and key. Letters that you have previously opened will appear below the form. If you are given a link, on first open you'll be asked for a key similar to the bottom half of the home page form shown below.

Editor

As the site operator, you start by picking a username and password and putting it in the AUTH environment variable, separated by a colon (<username>:<password>). To get to the editor, navigate to /adminand provide the same credentials used for the AUTH environment variable. The admin panel provides the option to create a letter, as well as edit existing letters. This is what the editor looks like, using a document written while prototyping the media viewer:

The media viewer is where you can upload and delete media from the letter. This is what that media viewer looks like: