Curate Concept

Curate is the interactive text interface for Antenna App. It is the default interface designed for novice and casual use. When completed it’ll include support for all the actions provided in the scriptable command line interface. It’ll also provide a more fluid means of managing metadata than hand coded YAML.

Origin idea

I want an easy way to perform the actions supported by Antenna App when using the command line isn’t the right choice. Something interactive but still in the terminal. In an ideal world all the YAML configuration and front matter would be automatically generated and editable without having to know YAML. An interactive command could move the Antenna App in that direction.

the command

The command I’m describing is antenna curate or simply invoking antenna without any options. If an antenna.yaml file is not in the current working directory you’ll be prompted to initialize an Antenna managed website in the current directory. If initialization has already occurred then you’ll be shown a list of currently defined collections.

Curating collections

There are several possible actions at the site level. These commands can be run on all collections or specific ones. It also provides a means of curating a specific collection. The following actions are planned or being implemented.

Curate items in a collection

When you enter this menu items are listed. You can review help to see the implemented actions. The follow actions are either implemented or planned.

Curate pages in a collection

Curate a themes

TBD

Curate default and named filters

TBD

Curate the antenna App configuration

TBD

someday, maybe ideas

I think most writers like to use their favorite writing tool so when I say “edit” I really meaning envoking a writer’s favorite editor and passing content to it be edited. Antenna App shouldn’t privide an editor but should use the one provided by the system.

Notes

One of my goals with antenna command line tool is to make the actions highly scriptable. This is helpful for when your own site finds it rythem of updates. The terminal interface should map to the command line version commands such that you can use the interactive interface to construct a script of actions you can run automatically.

I think the URL should display the command line version of the comments being presented interactively. This could be used to construct automations without resorting to direct shell programming.

I was playing with the editor, aretext, and the way it handles the UI would be interesting to explore for curate action. Take a closer look at the find and open method, how it displays files in the current directory and lets you scroll around it. It uses tcell module for UI. I need to decide if that’s the direction I want to go with curate action or if I want something simpler.