3 ms·
ThinkType uses CouchDB, which gives you an API that you can use to input notes, though this isn't documented yet. EDIT: When you're logged in and open the dev
by amadeuspagel 6y ago
ThinkType uses CouchDB, which gives you an API that you can use to input notes, though this isn't documented yet.
EDIT:
When you're logged in and open the developer tools, you should see in the console a string like this:
https://db.thinktype.app/userdb-616d6164657573706167656c40676d61696c2e636f6d
You should be able to click on this and get a reply like this:
{"db_name":"userdb-616d6164657573706167656c40676d61696c2e636f6d","purge_seq":"0-g1AAAABXeJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVB4LkGRoAFL_gSArkQGP2kSGpHqIoiwAtOgYRA","update_seq":"10256-g1AAAABdeJzLYWBgYMpgTmEQTM4vTc5ISXIwNDLXMwBCwxyQVB4LkGRoAFL_gSAriYFBqBaP8kSGpHqoOtHJWQA7xRl9","sizes":{"file":5775808,"external":173992,"active":3839921},"props":{},"doc_del_count":190,"doc_count":637,"disk_format_version":8,"compact_running":false,"cluster":{"q":2,"n":1,"w":1,"r":1},"instance_start_time":"0"}
When you go to application => cookies => https://thinktype.app https://thinktype.app, you find a cookie with the name "jwt". Using this, you can send a curl request, which should give you the same reply:
curl https://db.thinktype.app/userdb-616d6164657573706167656c40676d61696c2e636f6d --cookie jwt=$JWT -k
From there on, I leave you with the couchdb docs for now: https://docs.couchdb.org/en/stable/intro/curl.html https://docs.couchdb.org/en/stable/intro/curl.html