Better-Anonymous (multiple anonymous accounts and other features)

Summary: Allows users to create multiple anonymous accounts and to switch between them.

:link: GitHub: GitHub - XertroV/better-anonymous: better features for anon users on discourse

:arrow_right: Install: Follow the plugin installation guide.

Warning

This plugin was in-development (and tested to a point) but is currently not maintained and I have no intention of maintaining it; i.e. it’s somewhat unfinished. The features listed do work, though. If you would like to assume the maintainer-role of this plugin, you’re more than welcome. For anyone else interested in the code: it’s released under MIT but I’m basically happy to re-release it under whatever license (or public domain) if you have some preference (e.g. so an entire stack can be GPL).

Features

  • Create new anonymous users on demand
  • Set an anonymous user as active – this will become the anonymous account that is used for anonymous mode
  • List all your anonymous users

Configuration

(No docs – I might have added something to the admin panel but can’t remember what property it was/did; in any case, there’s basically no config. mb I was planning to add a limit on the number of anon users per user but forgot.)

CHANGELOG

  • initial features: create, list, and manage anon users

TODO

  • There are some todos in the code
  • Nonsequential anon names would be good. e.g. append 6 random characters, like Anonymous-3hs8bv

A Slightly Related Plugin – autoadding Anonymous accounts to a group

I wrote another anon plugin prior to this: auto-add anon accounts to a group: GitHub - XertroV/cf-anon-auto-group: Discourse plugin to trigger `user.set_automatic_groups` for anons on login. It’s very simple, basically like 10 LOC all up.