GithubHelp home page GithubHelp logo

isabella232 / webmention-analytics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chromaui/webmention-analytics

0.0 0.0 0.0 1.25 MB

An analytics dashboard for webmention.io data.

Home Page: https://analytics.mxb.dev

License: MIT License

JavaScript 39.64% SCSS 41.64% Nunjucks 18.72%

webmention-analytics's Introduction

Webmention Analytics

An analytics dashboard for webmention.io data.

Netlify Status

Features

  • Group data by month
  • Overview of incoming webmentions by day
  • Support for 5 types of webmentions (likes, replies, reposts, mentions, bookmarks)
  • Top sources sending webmentions to your site
  • Top targets on your site receiving webmentions
  • Top tweets generating webmentions through brid.gy
  • Webmentions flagged as spam (domains on a blocklist)
  • Automatic daily updates

Get your own instance

Things you may need:

  • a Github account
  • a Netlify account
  • a site registered on webmention.io
  • backfeed of Twitter via brid.gy (optional)

The easiest way to get started is to fork this repo and deploy it to a new Netlify site:

Deploy to Netlify

1. Edit Settings

Open src/data/meta.json and edit it to fit your site. Adjust the url to the URL of your Netlify deployment and the domain to match the domain of your webmention.io account.

2. Set Webmention Token

To fetch webmention.io data, you need to set a new environment variable called WEBMENTION_IO_TOKEN in your Netlify site admin. You can find this token on your webmention.io settings page under "API Key".

3. Configure Build Hook

You can configure Github to periodically trigger a new build of the dashboard, fetching up-to-date webmention data. First, set up a new Netlify Build Hook in your site admin. It will look something like this:

https://api.netlify.com/build_hooks/12345f83c31475e31000

Copy it to your clipboard. Then go to your forked repository's settings page and add it as a new repository secret called NETLIFY_CRON_BUILD_HOOK.

webmention-analytics's People

Contributors

jamietanna avatar maxboeck avatar winkervsbecks avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.