ARCHIVE

Turn GitHub Issues to Newsletters

By Dunkan at

Turn any GitHub repository's Issues section into a customizable newsletter.

This is an example issue to show case how the Issue News works. Checkout the project here: https://github.com/dcdunkan/issue-news. It is a work in progress.

The original idea of the project is heavily inspired by Deno News. Base code were inspired and taken from deno_blog module (because, I am a failure in front-end development).

This news you're reading is actually a GitHub issue: https://github.com/dcdunkan/issue-news/issues/1. By modifying and re-deploying the application the changes goes live again!

Usage example

Here is an example Deno Deploy playground that you can modify and deploy globally in a few seconds: https://dash.deno.com/playground/example-issue-news.

And here's an example usage snippet. This is it! Few lines of code, a simple but amazing newsletter.

import { news } from "https://ghc.deno.dev/dcdunkan/issue-news@main/main.tsx";

news({
  title: "Title",
  author: "Author Name",
  repository: "owner/repository",
  description: "Description for the page",
  // token: "ghp_Per50naIAcCesst0keN",
  // labels: ["news"],
});

By the way, to know more about https://ghc.deno.dev, checkout https://github.com/dcdunkan/ghc.deno.dev


Thank you for reading. And maybe a star for the project on GitHub? :)

Dunkan