perplexity-cli
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
Automate batch edits to your Markdown content. Integrates with static website generators such as Hugo and Gatsby
Tools to help you upgrade and manage your Hugo / Hugo Blox sites.
🚀 Upgrade to Hugo Blox v0.8.0 →
•
Docs
•
Templates
--dry-run and adds helpful Netlify redirects.refactor-pages-to-page-bundles.sh
Convert page files to page bundles: content/<section>/X.md → content/<section>/X/index.md.
Helps migrate Academic v2.4.0 → v3.0.0.
Usage:
bash refactor-pages-to-page-bundles.sh
refactor_pages_convert_TOML_to_YAML.py
Convert all front matter from TOML to YAML for broader editor compatibility.
Setup (Poetry):
# In this repo's root curl -sSL https://install.python-poetry.org | python3 - # if needed poetry install
Run:
# From this repo root poetry run python3 refactor_pages_convert_TOML_to_YAML.py # Or from a site directory poetry run python3 /path/to/awesome-hugo/refactor_pages_convert_TOML_to_YAML.py
refactor-widget-bundles-as-headless.sh
Academic v4.1 → v4.2: add headless: true to homepage section bundles.
Usage:
bash refactor-widget-bundles-as-headless.sh
refactor_page_bundles_to_pages.sh
Convert homepage page bundles back to page files (mainly for testing/downgrades).
Note: no --dry-run flag. Manually review and comment out mv/rm lines to simulate a dry-run.
Usage:
bash refactor_page_bundles_to_pages.sh
Have a useful script for managing or upgrading Hugo/Hugo Blox sites? We welcome contributions!
README.md with usage, flags (prefer a --dry-run), and caveatspyproject.toml (Poetry)Not sure where to start? Open an issue or discuss ideas in Discord.
pyyaml, toml).bash/zsh, find, sed).Warning
These scripts can modify and delete files.
--dry-run first if the script supports it.These tools are provided under MIT as templates to assist migrations. Test locally with hugo server before deploying.
MIT © Hugo Blox Team. See LICENSE.md.
more like this
🧠 A simple command-line client for the Perplexity API. Ask questions and receive answers directly from the terminal! 🚀🚀🚀
search projects, people, and tags