Don't ask me why invent another wheel. :-(
- Node.js >= v22.0.0
- Initialize working directory
planet i - Edit
config.ymlfor your needs (defaultplanet.formatishtml) - Add
planet /path/to/your/config.ymlto cronjob - Point your webserver root to
/path/to/your/public/directory
- Set
planet.format: jsonin yourconfig.yml - Run
planet /path/to/your/config.yml– this writespublic/data.json,public/rss.xml,public/atom.xml - In
themes/next/run oncenpm install - Build the Next.js template:
npm run export(insidethemes/next/). The command builds the app and publishes static files into the samepublic/directory - Serve the generated
public/directory (containsindex.html, the_next/assets, and feeds)
MIT