My personal website is generated from Markdown using Jekyll and GitHub Pages, which takes a Git repository and feeds it into a static site generator. This approach has numerous advantages which make management and maintenance of this site cheap and simple, but it also has limitations compared to other blogging platforms, especially in terms of post creation. To overcome this shortcoming and facilitate quick posts from my phone, I automated the process of posting using a combination of
Workflow.app(App Store Link [Free]) and
Working Copy.app(App Store Link [$14.99]).
In order to publish a post using Jekyll:
Pagination comes in many different flavors depending on the desired user experience and the shape of the underlying API. GraphQL APIs such as GitHub’s implement the Relay Cursor Connections Specification to standardize pagination and slicing of large result sets. This approach is well-suited to infinite-scrolling, but can also be used for “windowed” paging with next/previous page buttons.
Cursor connections work by passing in one of the following query argument pairs:
first is a positive, non-zero integer describing the maximum number of results to return from the leading side of the results set. During backward-pagination, this value must be null.
after is an opaque cursor type value provided by the
endCursor field of the connection’s
pageInfo object. For the first page, this value will be null. During backward-pagination, this value must be null. …