Skip to content
This repository was archived by the owner on Jul 17, 2024. It is now read-only.

[Feature Request] Add support for special templates #132

Open
theusaf opened this issue Apr 28, 2024 · 0 comments
Open

[Feature Request] Add support for special templates #132

theusaf opened this issue Apr 28, 2024 · 0 comments

Comments

@theusaf
Copy link
Member

theusaf commented Apr 28, 2024

Description

Several websites follow similar patterns in paths, class names, and software. This results in many presences with similar structures as well. Adding special templates would help developers quickly set up the boilerplate for certain presences rather than needing to re-create or re-investigate solutions.

For example:

  • Websites with videos playing in an iFrame
  • Websites using the MediaWiki software
  • Websites with content only one-level deep
  • Presences which use slideshows
  • etc.

Ideas

  • When using the -c flag, one can also pass in a -t or --template flag to specify a template to use
  • When creating a presence, the user could be prompted whether to select a template
  • Templates could be located at /template/special/[x]/
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant