GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Nufflee/EmbedHerald: Generates OpenGraph embeds for avherald.com articles

BranchesTags
Open more actions menu

Latest commit

 

History

13 Commits
13 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
src
src
 
 
.dockerignore
.dockerignore
 
 
.gitignore
.gitignore
 
 
Dockerfile
Dockerfile
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 
wrangler.toml
wrangler.toml
 
 

Repository files navigation

EmbedHerlad

A Cloudflare Worker that generates OpenGraph embeds (metadata) for the amazing avherald.com articles.

Currently hosted on nuff.gay. To use it, simply take an avherald.com URL and replace avherald.com with nuff.gay. For example: https://avherald.com/h?article=50faa50b&opt=0 -> https://nuff.gay/h?article=50faa50b&opt=0 which will yield this beautiful Discord embed:

Discord message showing the generated embed

Running locally

Using npm

$ npm i
$ npm run start-local

Exposing your instance to the Internet

To test your local instance on Discord or similar services, you will need to expose it to the Internet. You can do that using localtunnel by running the following commands concurrently.

$ npx http-proxy -p 8001 6969 # necessary so that the tunnel does not close when restarting the application
$ npx lt -p 8001
$ npm run start-local

Using Docker

$ npm run docker:build
$ npm run docker:run

Using Docker Compose

$ npm run docker:compose

You can find the details of the docker-compose setup in docker-compose.yml.

Deploying on Cloudflare

First, follow the Cloudflare Getting Started guide and create a new worker with the name embedherald (or one of your choosing, in which case you'll need to modify wrangler.toml).

Then, run:

$ npm i
$ npm run deploy

Copyright

I did not write nor do I own any content on https://avherald.com.

About

Generates OpenGraph embeds for avherald.com articles

Resources

Readme
MIT license
Activity

Stars

3 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.