我提供一个方案:
/t/1059349 ,既然都可以打包单个 html 了,直接生成一个 url ,保存到浏览器书签添加浏览器主页,啥服务都不需要。
例如下面我这个代码复制功能,复制好了纯文本发给别人,直接浏览器粘贴就能用。
data:text/html;base64,PGh0bWw+PGhlYWQ+CiAgICA8bWV0YSBjaGFyc2V0PSJVVEYtOCI+CiAgICA8bWV0YSBodHRwLWVxdWl2PSJYLVVBLUNvbXBhdGlibGUiIGNvbnRlbnQ9IklFPWVkZ2UiPgogICAgPG1ldGEgbmFtZT0idmlld3BvcnQiIGNvbnRlbnQ9IndpZHRoPWRldmljZS13aWR0aCwgaW5pdGlhbC1zY2FsZT0xLjAiPgogICAgPHRpdGxlPkRvY3VtZW50PC90aXRsZT4KICA8L2hlYWQ+CiAgPGJvZHk+CiAgICA8YnV0dG9uIGlkPSJidG4iPkNvcHkgVXJsPC9idXR0b24+CiAgICA8ZGl2IGlkPSJlZGl0b3ItYXJlYSIgY29udGVudGVkaXRhYmxlPSIiPjwvZGl2PgogICAgPHN0eWxlPgogICAgICAjZWRpdG9yLWFyZWEgewogICAgICAgIHdpZHRoOiAxMDAlOwogICAgICAgIGhlaWdodDogY2FsYygxMDB2aCAtIDgwcHgpOwogICAgICAgIG1hcmdpbi10b3A6IDIwcHg7CiAgICAgICAgb3ZlcmZsb3c6IHNjcm9sbDsKICAgICAgICBvdXRsaW5lOiAxcHggc29saWQgZ3JheTsKICAgICAgfQogICAgPC9zdHlsZT4KICAgIDxzY3JpcHQ+CiAgICAgIGZ1bmN0aW9uIHV0ZjhfdG9fYjY0KHN0cikgewogICAgICAgIHJldHVybiB3aW5kb3cuYnRvYSh1bmVzY2FwZShlbmNvZGVVUklDb21wb25lbnQoc3RyKSkpOwogICAgICB9CiAgICAgIC8vIGZ1bmN0aW9uIGI2NF90b191dGY4KHN0cikgewogICAgICAvLyAgIHJldHVybiBkZWNvZGVVUklDb21wb25lbnQoZXNjYXBlKHdpbmRvdy5hdG9iKHN0cikpKTsKICAgICAgLy8gfQ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