about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--janet/fedi-playground/.clj-kondo/.cache/v1/lock0
-rw-r--r--janet/fedi-playground/.gitignore2
-rw-r--r--janet/fedi-playground/.lsp/.cache/db.transit.json1
-rw-r--r--janet/fedi-playground/play.janet89
-rw-r--r--janet/fedi-playground/project.janet6
5 files changed, 96 insertions, 2 deletions
diff --git a/janet/fedi-playground/.clj-kondo/.cache/v1/lock b/janet/fedi-playground/.clj-kondo/.cache/v1/lock
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/janet/fedi-playground/.clj-kondo/.cache/v1/lock
diff --git a/janet/fedi-playground/.gitignore b/janet/fedi-playground/.gitignore
new file mode 100644
index 0000000..4bbe471
--- /dev/null
+++ b/janet/fedi-playground/.gitignore
@@ -0,0 +1,2 @@
+jpm_tree
+jpm_tree/*
\ No newline at end of file
diff --git a/janet/fedi-playground/.lsp/.cache/db.transit.json b/janet/fedi-playground/.lsp/.cache/db.transit.json
new file mode 100644
index 0000000..b107a4d
--- /dev/null
+++ b/janet/fedi-playground/.lsp/.cache/db.transit.json
@@ -0,0 +1 @@
+["^ ","~:classpath",["~#set",[]],"~:project-hash","","~:project-root","/Users/elimellen/Code/tour/janet/fedi-playground","~:kondo-config-hash","452324f865f2ec0f63b35797e57c4291cb12d8f306f428c110108c9e7f3e7b63","~:dependency-scheme","jar","~:analysis",null,"~:analysis-checksums",["^ "],"~:project-analysis-type","~:project-and-full-dependencies","~:version",11,"~:stubs-generation-namespaces",["^1",[]]]
\ No newline at end of file
diff --git a/janet/fedi-playground/play.janet b/janet/fedi-playground/play.janet
index 1596331..d9699b0 100644
--- a/janet/fedi-playground/play.janet
+++ b/janet/fedi-playground/play.janet
@@ -1,6 +1,6 @@
 # a utility script used to explore my fediverse followers
-
 (import spork/json) 
+(use judge)
 
 (defn read-from-file [file-path]
   "read data from a file, not super safe or fault tolerant."
@@ -31,4 +31,89 @@
   a)
 
 (def follower-accounts
-  (select-by-key "acct" all-followers))
\ No newline at end of file
+  (select-by-key "acct" all-followers))
+
+(def follower-usernames
+  (select-by-key "username" all-followers))
+
+(test (select-by-key "acct" all-followers)
+  @["brendan@merveilles.town"
+    "balrogboogie@mastodon.art"
+    "mstange@mastodon.social"
+    "mario_afk@merveilles.town"
+    "hanbruder@ecoevo.social"
+    "angelo@social.droppedbits.com"
+    "akkartik@lethallava.land"
+    "kategenevieve@assemblag.es"
+    "kidskylark"
+    "saltimbanque@mamot.fr"
+    "dcreager@dcreager.net"
+    "computersandblues@post.lurk.org"
+    "tamberg@quite.social"
+    "hs0ucy@jasette.facil.services"
+    "prahou@merveilles.town"
+    "nix@merveilles.town"
+    "cidney@social.city-of-glass.net"
+    "alyssa@cloudisland.nz"
+    "hastur@hackers.town"
+    "cian@post.lurk.org"
+    "ben@a11y.info"
+    "jeremy@boles.social"
+    "pkra@bonn.social"
+    "typeable@mastodon.social"
+    "nocko@kolektiva.social"
+    "ioezg@emacs.ch"
+    "jleightcap@treehouse.systems"
+    "arcade@catcatnya.com"
+    "illegaldaydream@kolektiva.social"
+    "maro@merveilles.town"
+    "halfflat@calckey.social"
+    "julienxx@nein.club"
+    "required@zero.parts"
+    "lior@mastodon.social"
+    "Amirography@fosstodon.org"
+    "decentral1se@varia.zone"
+    "mirth@mastodon.sdf.org"
+    "tbsp@merveilles.town"
+    "plexus@toot.cat"
+    "cblgh@merveilles.town"
+    "spiralganglion@mastodon.social"
+    "booters@kolektiva.social"
+    "thegr8whoopdini@bookwyrm.social"
+    "pixx@merveilles.town"
+    "angelo@social.lol"
+    "HarneyB@decept.org"
+    "woozong@post.lurk.org"
+    "sieve@hachyderm.io"
+    "amszmidt@mastodon.social"
+    "karlinfox@mastodon.cloud"
+    "resoluxe@mastodon.art"
+    "idlestate@toot.cat"
+    "fmflake@mastodon.social"
+    "raychill@aus.social"
+    "selmakovich@eldritch.cafe"
+    "bartgo@fosstodon.org"
+    "GoodClover@en.osm.town"
+    "levibeach@merveilles.town"
+    "celebrion@mastodon.online"
+    "benji@fosstodon.org"
+    "nilmethod@pleroma.destroyallmachines.net"
+    "nikken@post.lurk.org"
+    "lobo@merveilles.town"
+    "ophiuchoid@indieweb.social"
+    "mu@merveilles.town"
+    "kieranmcguire@mastodon.online"
+    "yagaruma@mastodon.social"
+    "dook@post.lurk.org"
+    "wilfredh@mastodon.social"
+    "Jetengineweasel@hackers.town"
+    "DrTCombs@transportation.social"
+    "jy4m@matapacos.dog"
+    "ivmirx@mas.to"
+    "vanja@tech.lgbt"
+    "abuseofnotation@mathstodon.xyz"
+    "jes5199@mastodon.social"
+    "ouro@social.snircle.space"
+    "typeswitch@gamedev.lgbt"
+    "Ronkjeffries@mastodon.social"
+    "bogmon@mstdn.social"])
diff --git a/janet/fedi-playground/project.janet b/janet/fedi-playground/project.janet
new file mode 100644
index 0000000..a8629ce
--- /dev/null
+++ b/janet/fedi-playground/project.janet
@@ -0,0 +1,6 @@
+(declare-project
+  :dependencies [
+    {:url "https://github.com/ianthehenry/judge.git"
+     :tag "v2.6.1"}
+    {:url "https://github.com/janet-lang/spork.git"}
+  ])
\ No newline at end of file