{"id":13674589,"url":"https://github.com/nexus-uw/mokintoken","last_synced_at":"2025-04-11T03:02:16.253Z","repository":{"id":45961821,"uuid":"245913818","full_name":"nexus-uw/mokintoken","owner":"nexus-uw","description":null,"archived":false,"fork":false,"pushed_at":"2024-10-29T16:12:08.000Z","size":8231,"stargazers_count":5,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T00:42:38.924Z","etag":null,"topics":["docker","go","rollup","self-hosted"],"latest_commit_sha":null,"homepage":"https://mokintoken.ramsay.xyz","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nexus-uw.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-09T00:55:29.000Z","updated_at":"2024-09-29T00:07:05.000Z","dependencies_parsed_at":"2024-01-02T02:00:06.092Z","dependency_job_id":"85de9355-3611-4cd3-abc9-21ff142bc873","html_url":"https://github.com/nexus-uw/mokintoken","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexus-uw%2Fmokintoken","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexus-uw%2Fmokintoken/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexus-uw%2Fmokintoken/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nexus-uw%2Fmokintoken/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nexus-uw","download_url":"https://codeload.github.com/nexus-uw/mokintoken/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248333605,"owners_count":21086199,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","go","rollup","self-hosted"],"created_at":"2024-08-02T11:00:54.526Z","updated_at":"2025-04-11T03:02:16.217Z","avatar_url":"https://github.com/nexus-uw.png","language":"Go","funding_links":[],"categories":["Software"],"sub_categories":["Pastebins"],"readme":"# mokintoken\n\n![](https://dockeri.co/image/nexusuw/mokintoken)\n\n## what\n\na clientside encrypted note sharing webapp. built with ~~php7, Lumen~~ Go, sqlite, rollup, and docker.\n\n[announcement blog post](https://ramsay.xyz/2020/03/27/mokintoken-released.html)\n\n### 2024 update\n\n[using golang as server](https://ramsay.xyz/2024/02/19/mokintoken-is-now-go.html)\n\n## where\n\n[https://mokintoken.ramsay.xyz](https://mokintoken.ramsay.xyz/?ref=readme)\n\n[onion](http://mokinan4qvxi4ragyzgkewrmnnqslkcdglk6v5zruknwnnuvv2lu5uad.onion/)\n\n## how to self host\n\n```\ntouch mokintoken.sqlite\nchown 65534:65534 mokintoken.sqlite\ndocker run -p 8080:8080 -v `pwd`/mokintoken.sqlite:/app/database/mokintoken.sqlite -e CLEANET=yoursite.af -e DARKNET=onion nexusuw/mokintoken\n```\n\n## local dev\n```\nnpm i \u0026\u0026 npm run build\ntouch database/mokintoken.sqlite\ngo build \u0026\u0026 ./main\n\n```\n\n## todo\n\n- csrf\n- slim down docker container size (more)\n- password protect notes (double encryption but stops someone from stumbling onto the contents if they just have the url)\n- ratelimit\n- allow uploading of ~~images~~/files\n- inline CSP to html\n- load test\n- generate sha-BLAH during build and include in csp\n- [web share target](https://developer.mozilla.org/en-US/docs/Web/API/Web_Share_API)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexus-uw%2Fmokintoken","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnexus-uw%2Fmokintoken","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnexus-uw%2Fmokintoken/lists"}