Projects/ directus-to-data
I wanted to use Directus in git-based way. With this utility, that task is a lot easier!
Achievements
- Allows you to fetch data from Directus with minimal busywork
- Multiple configuration methods (CLI, json config, programmatic or environment variables), which can be used interchangeably
- Documented through README.md and JSDoc
- Integrates nicely with CI, allowing automated git commits of data with subsequent deploys. See the repo of Denperidge.com
Future improvements
- As of writing, no support for images, multiple collections at once or different auth methods
- Current asynchronous-ness does not tie in well with SSGs
- Crashes when run with no authentication, instead of catching