The Sandstorm platform is attractive for pg-discuss because of it's ease of use for operators, ability to self-host or use the hosted option, and emphasis on security.
After an initial proof-of-concept to determine viability, it appears possible to use pg-discuss on Sandstorm as a cross-domain comment service. Sandstorm will provide authentication for admin users. Both static assets and the public API can be published through Sandstorm. Sandstorm removes the Cookie/Set-Cookie headers when proxying to the app through an exported API, so anonymous users will be identified by an id stored in sessionStorage (versus a session cookie) that will be sent in a custom header.
A rough outline of the work involved:
Create Sandstorm package for the pg-discuss app and it's dependencies (reverse proxy (nginx), wsgi container (uwsgi), Python virtualenv, database (PostgreSQL)).
The Sandstorm platform is attractive for pg-discuss because of it's ease of use for operators, ability to self-host or use the hosted option, and emphasis on security.
After an initial proof-of-concept to determine viability, it appears possible to use pg-discuss on Sandstorm as a cross-domain comment service. Sandstorm will provide authentication for admin users. Both static assets and the public API can be published through Sandstorm. Sandstorm removes the Cookie/Set-Cookie headers when proxying to the app through an exported API, so anonymous users will be identified by an id stored in sessionStorage (versus a session cookie) that will be sent in a custom header.
A rough outline of the work involved: