怎样在小程序里实现标题的更改
658
2022-10-22
offlinenotepad是一个开源的离线笔记应用程序
https://offlinenotepad.com
offlinenotepad is an open-source offline note taking app. It is a browser-based offline-first notepad that securely syncs across your devices - including smartphones, laptops, and chromebooks. Ideally, its a minimalist note-writing experience that can be accessed anywhere, anytime.
Offline-first. All information is stored as encrypted data in the browser. Saving, editing, viewing, and searching are all done on the client.
Secure. offlinenotepad uses AES with the PBE algorithm (PBKDF2) with the crypto-js library to encrypt data on the client and the server.
Minimal. This offline notepad aims to do as much as possible with as little as possible.
Publish. Any page can be "published" so that is accessible by anyone with a simple random link, like offlinenotepad.com/50e5791a. The raw data can easily be easily cURLed by adding /raw to the end, e.g. offlinenotepad.com/50e5791a/raw.
Code. If the title of any document contains a period (".") then it will force the editor to be monospace and it will show the plain text in the viewer instead of transformed Markdown to HTML.
This writing tool is largely based of its predecessors: cowyo and rwtxt.com (both also available on Github).
Install
To run your own server for backing up notes you can simply install with Go.
$ git clone https://github.com/schollz/offlinenotepad$ cd offlinenotepad$ go build -v
And then you can run
$ ./offlinenotepad
Log into localhost:8251 to see the site.
Acknowledgements
I took a lot of help from @GoogleChromeLabs with their airhorn.
License
MIT
版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。
发表评论
暂时没有评论,来抢沙发吧~