❗ DEPRECATED ❗ : Will no longer work after Manifest v3 rolled out.
Take only memories, leave only comments
This is the web application powering the Universal Comments
browser plugin (repository).
Universal Comments extension:
- NodeJS v12+
- Zeit Now
- Hasura GraphQL endpoint
- Heroku PostgreSQL
- Auth0
-
Checkout this repository and navigate to the project root folder
-
Run
npm i
to install all necessary dependencies -
Create a
.env.build
file with the following environment propertiesGRAPHQL_ENDPOINT=<the Hasura GraphQL endpoint>
HASURA_ADMIN_SECRET=<Hasura admin secret>
HASURA_ROLE=<Hasura role>
AUTH0_DOMAIN=<Auth0 domain>
AUTH0_CLIENT_ID=Auth0 client ID
-
Run
now dev
to build and run the web app locally- navigate to
localhost:3000
- navigate to
You can pass a canonical url by passing the canonical
URL-parameter like so:
localhost:3000?canonical=http://willemliu.nl
When you pass a canonical URL then your comments will be attached to that specific URL.
You can administer your circles by navigating to:
localhost:3000/circles
You can administer all your own comments by navigating to:
localhost:3000/admin