Beneath runs several public example projects on beneath.dev/examples.
If you want to use the data, you can simply start consuming the tables directly from beneath.dev/examples. We plan on keeping these examples running forever.
If you want to use the examples as a starting point for creating your own tables, you can find the source code for all these projects in the examples/
directory in the Beneath repo on Github. Most of the examples contain a README
that shows how to run the code.
examples/earthquakes
: Scrapes worldwide earthquakes data in real-time from the U.S. Geological Survey and writes it to Beneath.
examples/reddit
: Scrapes posts and comments from a few subreddits. The code is a generic scraper that can extract posts and comments from any subreddit to Beneath.
examples/clock
: Publishes several tables that tick at fixed intervals.
examples/ethereum
: Loads blocks from the Ethereum blockchain in real-time.