mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-29 23:27:44 +00:00
Crawled 743 of 5,846 reachable relays with amy for events signed 2026-10-07..08: 2.36M events, 573 kinds, 386 without a typed quartz class. Adds the crawl/harvest/profile scripts, the kind histogram, the per-kind profiles and researched findings (what each kind is, spec/source, relevance to Amethyst). Raw samples stay local: they hold third-party personal data. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FrQx1ZvQka64aFAnZM1Hjd
14 lines
627 B
Java
14 lines
627 B
Java
import com.vitorpamplona.quartz.utils.EventFactory;
|
|
import com.vitorpamplona.quartz.kinds.KindNames;
|
|
public class KnownKinds {
|
|
public static void main(String[] a) throws Exception {
|
|
var sb = new StringBuilder();
|
|
for (int k = 0; k <= 65535; k++) {
|
|
boolean typed = EventFactory.Companion.isKnownKind(k);
|
|
var info = KindNames.INSTANCE.infoFor(k);
|
|
if (typed || info != null) sb.append(k).append('\t').append(typed ? "typed" : "named-only").append('\t').append(info == null ? "" : info.getName()).append('\n');
|
|
}
|
|
java.nio.file.Files.writeString(java.nio.file.Path.of(a[0]), sb.toString());
|
|
}
|
|
}
|