1.9 KiB
LinkLog
I want to build a firefox plugin and a server backend.
Plugin
The plugin, when activated will, record the current page title and URL, with tracking information stripped, display them to the users, so it can be edited. The plugin also allows the user to enter a comment in a separate field. It will send the title, the URL, the comment and a timestamp to the backend server using a configurable URL. At configuration time the plugin will obtain an authentication token by logging in on the backend.
Server
The plugin is supposed to talk to a backend stand-alone web service.
The web service stores its information in a SQLite database and has a plugin based architecture for publishing its information.
Server Frontend
The server frontend is made accessible in such a way that it can run behind a reverse proxy. A Dockerfile that utilizes Traefik is provided for setup.
The server front end has an admin interface in which users and plugins can be configured.
An additional Mastodon plugin will post the URLs to a Mastodon instance.
The default plugin is a frontend that publishes public information: the log of the links that users have submitted. Each link will be displayed as a page title (when available, otherwise the plain URL), preceded by a user's avatar and followed by the comment.
Links can be filtered per user, for example by putting // in the URL path. For filtered pages, the user's avatar and name are displayed at the top and their profile information at the bottom.
When users visit the page they will be able to select and sort on users, persistently stored as a cookie.
Frontend User
The server has a user-configuration interface where users can change their credentials, profile, and avatar.
When the Mastodon plugin is active, the user-configuration page will allow configuration of credentials and the addition of a hashtag with the posts.