⚡️ Lighting fast mirror of greatmind.id hosted at greatmind.web.id.
- Clone this repository
- Install javascript dependency with
npm install
- Run application with
npm run dev
- Open browser and visit
http://localhost:8080
- Open
crawler.py
file and suits your need - Crawl new articles with
python crawler.py --crawl-step-1
- Crawl completing articles metadata with
python crawler.py --crawl-step-2
- Setup algolia search, get APP_ID and APP_KEY
- Export APP_ID and APP_KEY as environment variable
- Update index with
python algolia.py
Why and how this project got started in the first place:
- Visit greatmind.id
- The website wont load, too slow
- Submit complain, no response
- Feel frustated
- Got an idea of a mirror website with speed in mind
- Build python script to crawl the website
- Build static site with eleventy to mirror the website
- Publish and show to them this is how you build a site!
All praise and thanks to:
- https://greatmind.id: upstream article source
- https://github.com/eggheadio: inspiration of the look and feel
- https://favicon.io/emoji-favicons/light-bulb: the light bulb favicon
- https://11ty.dev: amazing static site generator
- https://tailwindcss.com: the utility css for rapid development
- https://statically.io: best easy to use cdn made in jogja
- https://pages.dev: host free static site with unlimited bandwith