Ghostwriter

Ghostwriter is a service to provide link shortening and personalization for a Phalanx installation.

There are two initial use cases: the first is to allow specification of a generic URL for notebooks hosted on github.com by certain owners (currently, lsst, lsst-dm, lsst-square, lsst-ts, and rubin-dp0) that will download those notebooks and open them in a user’s Lab.

The second is to allow appending a Portal UWS query ID to a generic route, and have that open a templated notebook in a user’s Lab containing retrieval of that query and conversion to a table.

This is accomplished through a configuration file specifying the routes that get redirected and personalized, and for each route a list of hooks applied to do work before the redirection is implemented.

Routing

Learn how to set up routing for ghostwriter redirection.

Routing
Hooks

Learn how to use hooks to provide pre-redirection functionality.

Hooks