Connect GitHub
What you need to connect GitHub to Indrava, and what GitHub allows in a post.
<!-- 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: |
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: |
Title | yes | |
Slug | optional | Example: |
Excerpt | optional | |
Tags | optional | Example: |
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.