The Hub Toolkit is a set of server-side command-line utilities used to inspect, export, and document the Members Hub Grav site.
These scripts are not part of normal member-facing website content. They do not need to be copied into every local working site unless a developer specifically needs to test or maintain them.
Their documentation is kept in Site Admin so future administrators understand what the toolkit does and why generated exports or reports may exist.
The toolkit is intended to run on the VPS that hosts the live Members Hub.
| Item | Server path |
|---|---|
| Grav root | /var/www/vhosts/coulsdonclubmembers.info/httpdocs |
| Scripts directory | /var/www/vhosts/coulsdonclubmembers.info/scripts |
| Export directory | /var/www/vhosts/coulsdonclubmembers.info/httpdocs/user/data/chatgpt-export |
| Pages | /var/www/vhosts/coulsdonclubmembers.info/httpdocs/user/pages |
| Members Hub theme | /var/www/vhosts/coulsdonclubmembers.info/httpdocs/user/themes/members-hub |
| Custom plugins | /var/www/vhosts/coulsdonclubmembers.info/httpdocs/user/plugins |
The command launcher is:
hub
On the server, the launcher calls scripts in:
/var/www/vhosts/coulsdonclubmembers.info/scripts
The launcher exists so an administrator can type short commands such as hub tree or hub export instead of remembering full script paths.
The toolkit supports:
The toolkit is not:
Toolkit exports are written to:
/var/www/vhosts/coulsdonclubmembers.info/httpdocs/user/data/chatgpt-export
Full exports may include:
user/pagesuser/themes/members-hubExports intentionally exclude common noise such as cache, logs, temporary files, generated images, and backup folders where practical.
Keep the scripts server-side unless there is a specific reason to test them locally.
The important thing for the local Grav site is that Site Admin documents: