Jump to content

Main Page: Difference between revisions

From Archive
No edit summary
No edit summary
Line 1: Line 1:
= Archive =
[[Syntax guide]]


== [[Technical]] ==
== [[Technical]] ==

Revision as of 19:14, 31 May 2025

Archive

Syntax guide

Technical

CLI workflows, data processing scripts, and solutions worth remembering, also Frequencies for ham radio in New York.

My VPS setup.

Personal APIs

Personal APIs to reuse the panopticon for my own means

Dataviz

D3 experiments, Observable notebooks, and visualization techniques

Journalism

Investigation methods, source management, and story development

Projects

Work logs, collaboration notes, and things in progress

Meta

How this archive works, why it exists, and how to navigate it

MediaWiki API

JSON from the archive for automation

Basic Calls

# Get page content
curl "https://archive.ejfox.com/api.php?action=query&format=json&titles=Projects&prop=revisions&rvprop=content"

# List category 
curl "https://archive.ejfox.com/api.php?action=query&format=json&list=categorymembers&cmtitle=Category:Projects"

# Search
curl "https://archive.ejfox.com/api.php?action=query&format=json&list=search&srsearch=election"

# Get all pages in Quotes category:
curl "https://archive.ejfox.com/wiki/api.php?action=query&format=json&list=categorymembers&cmtitle=Category:Quotes&cmlimit=50"

# Search quotes by text:
curl "https://archive.ejfox.com/wiki/api.php?action=query&format=json&list=search&srsearch=insource:Gibson&srnamespace=0"

Useful Stuff

# Recent changes
curl "https://archive.ejfox.com/api.php?action=query&format=json&list=recentchanges&rclimit=10" | jq -r '.query.recentchanges[].title'

# Missing pages (knowledge gaps)
curl "https://archive.ejfox.com/api.php?action=query&format=json&list=querypage&qppage=Wantedpages" | jq -r '.query.querypage.results[].title'

# What links to this page
curl "https://archive.ejfox.com/api.php?action=query&format=json&list=backlinks&bltitle=Technical" | jq -r '.query.backlinks[].title'

# Archive stats
curl "https://archive.ejfox.com/api.php?action=query&format=json&meta=siteinfo&siprop=statistics" | jq '.query.statistics'
# Upload screenshots, diagrams, data files
curl -F "[email protected]" -F "filename=project_diagram.png" "https://archive.ejfox.com/api.php?action=upload"

# Reference in pages
[[File:project_diagram.png|thumb|Architecture overview]]



Updated from terminal & mobile • Cross-referenced & searchable • Living memory