DigitalDNA
- 3 Devlogs
- 7 Total hours
Today’s focus was turning the GitHub Genome analyzer into a real feature by connecting it to GitHub’s API and generating meaningful genome reports from live repo data.
It’s completely functional and shows real data now!
The focus was making Website Genome analyze real websites instead of faking random data.
const endpoint = 'https://observatory-api.mdn.mozilla.net/api/v2/scan?host=' + hostname;
const response = await fetch(endpoint, { method: 'POST' });
const data = await response.json();
Website Genome now runs on real, live data. Next up is doing the similar thing for GitHub Genome.
For this project, I wanted to make something familiar like analyzing a website or a piece of code, and look at it through a different lens. That’s where the idea for DigitalDNA came from.
DigitalDNA is a web application that analyzes digital creations through the metaphor of DNA sequencing. Instead of analyzing biological DNA, it sequences websites, GitHub repos, and source code to generate a ‘genome’ report showing genes, mutations, species, and overall genome health. Think of it as the DNA finder of a website, GitHub repo, or code.