NextDNS

The new firewall for the modern Internet. NextDNS protects you from all kinds of security threats, blocks ads and trackers on websites and in apps and provides a safe and supervised Internet for kids — on all devices and on all networks.

Integrate the NextDNS API with the GitHub API

Setup the NextDNS API trigger to run a workflow which integrates with the GitHub API. Pipedream's integration platform allows you to integrate NextDNS and GitHub remarkably fast. Free for developers.

New Branch (Instant) from the GitHub API

Emit new events when a new branch is created

 
Try it
New Card in Column (Classic Projects) from the GitHub API

Emit new event when a (classic) project card is created or moved to a specific column. For Projects V2 use New Issue with Status trigger. More information here

 
Try it
New Collaborator (Instant) from the GitHub API

Emit new events when collaborators are added to a repo

 
Try it
New Commit (Instant) from the GitHub API

Emit new events on new commits to a repo or branch

 
Try it
New Commit Comment (Instant) from the GitHub API

Emit new events on new commit comments

 
Try it
Create Issue with the GitHub API

Create a new issue in a Gihub repo. See docs here

 
Try it
Search Issues and Pull Requests with the GitHub API

Find issues and pull requests by state and keyword. See docs here

 
Try it
Create Branch with the GitHub API

Create a new branch in a Github repo. See docs here

 
Try it
Create Issue Comment with the GitHub API

Create a new comment in a issue. See docs here

 
Try it
Create or update file contents with the GitHub API

Create or update a file in a repository. This will replace an existing file. See docs here

 
Try it

Overview of NextDNS

NextDNS provides an API that developers can use to programmatically manage DNS
records for their domains. This provides a way to automate tasks such as adding
new records when a website is created, or removing old records when a website
is taken down.

Here are some examples of what you can build using the NextDNS API:

  • A tool for automatically creating DNS records when a new website is created
  • A tool for automatically removing DNS records when a website is taken down
  • A tool for managing DNS records for multiple domains in one place
  • A tool for monitoring DNS changes across multiple domains

Connect NextDNS

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    nextdns: {
      type: "app",
      app: "nextdns",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.nextdns.io/profiles/abc123`,
      headers: {
        "X-Api-Key": `${this.nextdns.$auth.api_key}`,
      },
    })
  },
})

Connect GitHub

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    github: {
      type: "app",
      app: "github",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.github.com/user`,
      headers: {
        Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
        "X-GitHub-Api-Version": `2022-11-28`,
      },
    })
  },
})