Skip to content

Latest commit

 

History

History
58 lines (46 loc) · 1.41 KB

TODO.md

File metadata and controls

58 lines (46 loc) · 1.41 KB

Road map

Common infrastructure

  • Flags: coerce to bool?
  • Annotations: coerce to any type

Generators

<iframe title="Onion Rice from 1977: The Instruction the Recipe Submitter gives is Priceless!" src="https://tilvids.com/videos/embed/bb6057d2-427b-4c31-9b8c-0a8c7d0a29c9?start=4m51s&amp;stop=5m1s&amp;loop=1&amp;autoplay=1&amp;muted=1" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups" width="560" height="315" frameborder="0"></iframe>
  • Figure flags:
    • no flag
      • Un modified url
    • local (when remote url)
      • download
      • place it on a given dir
      • set url to local path
    • inline
      • download
      • detect mime type
      • compute base 64
      • set url to data url
    • thumb
      • download
      • generate a thumb
      • place the thumb on thumb dir
      • when combined with 'inline'
        • url to the local path
      • when combined with 'local'
        • link to the image
    • lightbox
    • sized

Helpers

  • Fetcher:
    • configurable cache dir
    • file name too long
    • handle connection errors