项目
在 GitHub 查看
Pingid/lectures.london
关于
Public talks and lectures hosted by institutes and universities in London on topics including law, art sustainability, philosophy, history, economics and much more
学习与教育实测星标增长
- 24小时
- 0
- 7天
- +1
- 15天
- +1
- 1个月
- +1
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Lectures London
lectures.london is a directory of free public talks and lectures hosted by universities and institutions across London — covering law, art, philosophy, history, economics, science and more.
Listings are scraped daily from each host, compiled into a static site, and published with RSS feeds, calendar (.ics) exports, and automated posts to Twitter and Bluesky.
How it works
A scheduled GitHub Action runs daily to:
- Scrape each source into a single
lectures.json+hosts.json. - Build the static client from that data.
- Deploy to Netlify and post new lectures to social media.
Project structure
This is a pnpm workspace monorepo.
@client— the Astro + SolidJS website (search, RSS, calendar exports).@package/shears— small HTML scraping/query toolkit.@package/scrapers— one scraper per host, built onshears, normalising lectures into a shared schema.@package/scripts— CLI tools (collect,tweet,bluesky) that drive the data pipeline.
Getting started
Requires Node.js 22+ and pnpm 10+.
pnpm install # install dependencies
pnpm build:ts # build the workspace packages
pnpm collect # scrape lectures -> @client/lectures.json + hosts.json
Then run the site locally:
cd @client
pnpm dev # start the dev server
Common commands
Run from the repo root:
| Command | Description |
|---|---|
pnpm build |
Build packages and the client for production. |
pnpm collect |
Scrape all sources and write lectures.json / hosts.json. |
pnpm watch:ts |
Rebuild packages on change during development. |
pnpm tweet / pnpm bluesky |
Post upcoming lectures to social media (needs API credentials). |
pnpm format |
Format the codebase with Prettier. |
Adding a new source
- Create
@package/scrapers/src/sources/<name>/index.tswith a scraper that returns lectures in the shared schema. - Export it from
@package/scrapers/src/sources/index.ts. - Run
pnpm build:ts && pnpm collectto verify the output.
License
MIT
探索相关项目
加载中…