Connect GitHub

What you need to connect GitHub to Indrava, and what GitHub allows in a post.

Embed
Preview of the card
<a href="https://indrava.forumulate.com/help/connect-github"><img src="https://indrava.forumulate.com/help/_api/public/orgs/e421ace4-3e78-4ed8-9818-7b4899cf3aa0/spaces/eb86896a-9649-48ed-a1a6-566b48188df7/pages/761a45fc-52a3-47ce-86f8-7ddba6282773/social-card.svg?v=3e7ae33eec8b" alt="Connect GitHub" width="600" height="315"></a>

<!-- Generated by scripts/channel-docs.ts from packages/providers. Do not edit by hand: edit the provider or the notes in the script. -->

Connect

In Indrava, open Channels, choose Connect a channel and pick GitHub. Paste the following. Indrava checks the details with GitHub before saving, and stores them encrypted.

What to paste

Needed

Notes

Personal access token

yes

Settings → Developer settings → Fine-grained tokens, for the repositories you post to: Contents, Discussions (and Metadata) read and write.

Limits

  • Publishes an article: a title and a body of up to 60,000 characters. Links in an article are never shortened.

  • Media: uploaded files are not sent to this channel.

The composer shows the character count for each channel and names any file a channel will not take before you schedule.

Settings on each post

When this channel is selected in the composer, these settings appear:

Setting

Needed

Notes

Post as

yes

file: a Markdown file committed to the repository (Hugo, Jekyll, Zenn, GitHub Pages); discussion: a new Discussion; release: a release with notes. One of: file, discussion, release.

Repository

yes

Chosen from a list read from the platform.

Discussion category

in some cases

Shown when Post as is discussion. Chosen from a list read from the platform.

Release tag

in some cases

Created on the default branch when it does not exist yet. Shown when Post as is release. Example: v1.2.0

Pre-release

optional

Shown when Post as is release.

Branch

optional

Left empty, the repository's default branch. Shown when Post as is file.

Front matter

optional

The header the site generator reads: hugo (default), jekyll, zenn (publishes to zenn.dev from a connected repository) or none (a heading, no header). Shown when Post as is file. One of: hugo, jekyll, zenn, none.

File path

optional

{slug} and {date} (YYYY-MM-DD) are filled in. Left empty: content/posts/{slug}.md for hugo, _posts/{date}-{slug}.md for jekyll, articles/{slug}.md for zenn. Shown when Post as is file. Example: content/posts/{slug}.md

Title

yes

Slug

optional

Example: my-post

Excerpt

optional

Tags

optional

Example: News, Releases

Cover image URL

optional

A permanent public link to the picture. Left empty, the first picture in the text.

Status

optional

One of: published, draft.

What else works

  • One part only: this channel has no threads or comments to put later parts in.

  • Formatting: the composer offers Markdown for this channel.

  • Analytics: Indrava reads likes, reposts and replies of published posts (and impressions or clicks where the platform reports them).

Good to know

  • Not yet run against a real GitHub account: this connection was written from GitHub's own documentation and tested against recorded answers only. Try it with one post you can delete before you rely on it.

Updated