summaryrefslogtreecommitdiff
path: root/desk/lib/web2.hoon
diff options
context:
space:
mode:
Diffstat (limited to 'desk/lib/web2.hoon')
-rw-r--r--desk/lib/web2.hoon64
1 files changed, 64 insertions, 0 deletions
diff --git a/desk/lib/web2.hoon b/desk/lib/web2.hoon
new file mode 100644
index 0000000..6200ebe
--- /dev/null
+++ b/desk/lib/web2.hoon
@@ -0,0 +1,64 @@
+|%
++$ app-creds
+$% [%twatter twatter-creds]
+ [%insta insta-creds]
+ [%openai p=api-key]
+ [%neets p=api-key]
+ [%chatgpt chatgpt-creds]
+==
++$ app $?(%twatter %openai %insta %chatgpt %neets)
++$ api-key @t
++$ twatter-creds
+$: auth-token=@t
+ ct0=@t
+ kdt=@t
+ twid=@t
+==
++$ insta-creds
+$: sessionid=@t
+ ds-user-id=@t
+ csrftoken=@t
+==
++$ chatgpt-creds
+$: cookie=@t
+==
++$ poke
+$% [%add name=@t =app-creds]
+ [%del name=@t]
+==
++$ ui
+$% [%scry scry]
+ [%fact fact]
+==
++$ scry
+$% [%ng ~]
+ [%ok p=app-creds]
+ [%active (set app)]
+==
++$ fact
+$% [%nothing ~]
+==
++$ coki
+$: key=@t
+ value=@t
+ max-age=@
+ expiry=@da
+ path=@t
+ domain=@t
+ secure=_.y
+ http-only=_.y
+ samesite=$?(%strict %lax %none)
+ partitioned=_|
+==
+++ muh ^- twatter-creds
+:* '245a891674d0130f09782cdc0eb3a0e995928305'
+ 'f2e216c7e1a7fd1e6fab09f6d25b0348c0c70c988ad715bca2307bb0995d3fa8dad5e5b6abbe4a56c13ee168135435e64baeab150e3cab2507a3ddeb28f17aacbc8222a7fed9526952629e4209ddeda2'
+ 'KDwilxYdu5TZHJbmXLrW1nC4k4CzeqxuKvU9Lcbb'
+ 'u%3D1710606417324015616'
+==
+++ twatter-action
+ $% [%timeline ~]
+ [%user p=@t]
+ ==
+
+--