Skip to content

New App: Spellmaker #83

@RangerMauve

Description

@RangerMauve

Flow:

  • Pull link to edit from url in searchParams
  • Else ask for URL of spell to edit or a name to create under your own spells.
  • Save to hyper://localhost/spells/SPELL_NAME_HERE.html
  • Load metadata from spell HTML
  • Metadata to save:
    • title Human readable name for the spell, will be used to quickly search. This will be used to generate the spell file name (all words snake cased and punctuation removed)
    • meta name="description" Human readable description of what the spell does
    • meta name="keywords" Comma separated list of tags to index by, use categories for "types of spells"
    • meta name="author" Human readable author name, pulled from own author hypercore
    • meta name="theme-color" Optional color code for the card as a "theme hint". Will be used to set the card border
    • link rel="author" Link to author's hyperdrive root
    • link rel="icon" Link to an icon for the spell
    • meta name="icon" An icon for the spell, use an emoji, unicode character or an icon font glyph. Use this if you don'y have an image
    • link rel="prev" The previous version of this spell, when customizing a spell use this to link to the original. Omit this if there was no original we're forking from.
  • Metadata must be supplied before a save can happen
  • Page split into 4 "sections" for preview/html/css/js
  • Checkboxes for toggling display of sections at the top
  • Save button triggers the metadata dialog
  • Dragging a URL onto the page attempts to load the spell if it ends in .html

Default spell tags list:

  • spell: Spells must at least have this tag to show up in a grimoire or the arcane exchange
  • input: This spell will require an input in the url searchParam
  • output: This spell will require an output either in the url or output param
  • standalone: This spell exists on its own and doesn't expect export anything or take something as input.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions