Back to packages list

Vals using @octokit/core

Description from the NPM package:
Extendable client for GitHub's REST & GraphQL APIs
georgemandis avatar
convertEmailToBlogDraft
@georgemandis
Email
Convert Emails to Blog Drafts This val will receive inbound emails and create a new Markdown file in a specified GitHub repository. Create drafts for your static site (or, for the bold, publish directly!) by simply sending an email! Notes This script assumes you're using some kind of static site generator that can read from a GitHub repository. There are many to choose from in this space. I'm partial to 11ty Gmail is doing some heavy-lifting for me here in terms of kindly converting my HTML email to Markdown behind the scenes. It's not a guarantee all email providers do this. If yours does not, you may have to investigate an HTML-to-Markdown conversion step. We'll use the GitHub API via Octokit to create the file. You'll need to create a token and store it an an environmental variable in your Val Town settings. Enjoy! ā€” George https://george.mand.is/2024/09/using-email-and-val-town-to-draft-blog-posts/
andy_blum avatar
createIssue
@andy_blum
Script
Used to post issues back to github from website's UI for non-technical users.
adisbanda avatar
githubWebhookApproveSmallPRs
@adisbanda
HTTP (deprecated)
An interactive, runnable TypeScript val by adisbanda
karfau avatar
githubWebhookApproveDependencyPRs
@karfau
Script
Forked from vtdocs/githubWebhookWithVerify
maas avatar
importGists
@maas
Script
Imports Gists to Val Town Import your TypeScript and JavaScript to Val Town Authentication This function requires two keys: one from Github to get your gists, and one from Val Town to make the vals in your account: Github token: https://github.com/settings/tokens Val Town key: https://www.val.town/settings/api Usage You can use this function by calling it and passing your keys like so: @maas.importGists({ githubToken: @me.secrets.githubGists, valTownKey: @me.secrets.valtown, }); Example usage: https://www.val.town/v/maas.untitled_harlequinCrawdad
stevekrouse avatar
importGists
@stevekrouse
Script
Forked from maas/importGists
augustohp avatar
ghAddAssigneesToAssignable
@augustohp
Script
An interactive, runnable TypeScript val by augustohp
augustohp avatar
ghIssueFromNodeId
@augustohp
Script
An interactive, runnable TypeScript val by augustohp
augustohp avatar
ghProjectColumnOfIssue
@augustohp
Script
An interactive, runnable TypeScript val by augustohp
augustohp avatar
ghProjectFieldsFromIssue
@augustohp
Script
* Given an issue (GraphQL's Node ID), lists all available * "fields" (from Projects V2) attached to it - without their * values. * * @example ghProjectFieldsFromIssue("I_kwDOJYe5Es5qSNa2", 2, "github_pat_yadayada")
onemanwenttomow avatar
getGithubTeamCommitHistories
@onemanwenttomow
Script
An interactive, runnable TypeScript val by onemanwenttomow
onemanwenttomow avatar
getGithubUsersByTeam
@onemanwenttomow
Script
An interactive, runnable TypeScript val by onemanwenttomow
vtdocs avatar
getGithubUserViaOctokit
@vtdocs
Script
An interactive, runnable TypeScript val by vtdocs
vtdocs avatar
octokitExample
@vtdocs
Script
An interactive, runnable TypeScript val by vtdocs
augustohp avatar
ghOrgRepos
@augustohp
Script
An interactive, runnable TypeScript val by augustohp
1
Next