Crates.io | einwurf |
lib.rs | einwurf |
version | 0.2.0 |
source | src |
created_at | 2023-01-29 14:03:20.967907 |
updated_at | 2023-02-03 02:44:45.323958 |
description | Minimal unauthenticated web UI to accept and forward notes |
homepage | https://homework.nwsnet.de/releases/e1ff/#einwurf |
repository | https://github.com/homeworkprod/einwurf |
max_upload_size | |
id | 770942 |
size | 56,321 |
Accept notes, URLs, etc. with a public, minimal web UI (just a text area and a submit button) without authentication and post them to another, likely access-restricted destination of choice.
Use case: You are browsing the web on your phone or work computer and come across an idea or link you want to engage with later (say, at home on your private computer).
With Einwurf, you can just open the web interface, "drop" those notes, and know they got appended to some list you can access later.
Currently these destinations are supported:
Discord: Write to a channel.
Mattermost: Write to a channel.
Notion: Append to a page.
An example configuration file with explanations on how to obtain or
choose values is included as config_example.toml
.
A configuration file is mandatory to run it:
$ einwurf --config config.toml
It is recommended to run Einwurf on localhost
/127.0.0.1
only and
expose it through a reverse proxy that also provides
TLS.
For example, nginx could be set up like this (with Certbot used to manage certificates):
server {
listen 443 ssl;
server_name einwurf.example;
location / {
proxy_pass http://127.0.0.1:3000/;
proxy_redirect off;
}
ssl_certificate /etc/letsencrypt/live/einwurf.example/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/einwurf.example/privkey.pem; # managed by Certbot
}
Einwurf is licensed under the MIT license.
Copyright 2022-2023 Jochen Kupperschmidt