Skip to content

nexus-uw/mokintoken

Repository files navigation

mokintoken

what

a clientside encrypted note sharing webapp. built with php7, Lumen Go, sqlite, rollup, and docker.

announcement blog post

2024 update

using golang as server

where

https://mokintoken.ramsay.xyz

onion

how to self host

touch mokintoken.sqlite
chown 65534:65534 mokintoken.sqlite
docker run -p 8080:8080 -v `pwd`/mokintoken.sqlite:/app/database/mokintoken.sqlite -e CLEANET=yoursite.af -e DARKNET=onion nexusuw/mokintoken

local dev

npm i && npm run build
touch database/mokintoken.sqlite
go build && ./main

todo

  • csrf
  • slim down docker container size (more)
  • password protect notes (double encryption but stops someone from stumbling onto the contents if they just have the url)
  • ratelimit
  • allow uploading of images/files
  • inline CSP to html
  • load test
  • generate sha-BLAH during build and include in csp
  • web share target