The Dev.to Audience Analyzer is a Python tool that helps Dev.to authors understand more about their followers. It gives you insights into who your followers are, how active they are, and whether they seem like real, engaged users.
This GitHub project was created as part of my blog post Who's Really Following You on Dev.to? A Guide to Analyzing Your Audience, where I share insights and tools to analyze the composition and engagement of my followers.
With this tool, you can look at your followers in different ways, including:
- Activity Levels: See if followers are writing articles, leaving comments, or just passively following.
- Profile Completeness: Find out which followers have filled out their profiles with details like bio, location, GitHub, or Twitter links.
- Engagement Patterns: Discover which articles attracted the most followers and spot trends in follower growth after you publish new content.
- Possible Bots or Inactive Accounts: Spot any patterns, like many followers joining Dev.to and following you on the same day, which could indicate low engagement or potential bot behavior.
To use this project, you'll need:
- A Dev.to API Key (required) to access your follower information on Dev.to which you can find here under DEV Community API Keys.
- A GitHub Token (optional) for extended analysis, specifically for followers who have linked their GitHub profiles details.
analysis.ipynb: This Jupyter notebook contains all the code for performing the analysis. You can run this notebook to view visualizations and dive deeper into your follower data.src/api_client.py: This script handles interactions with the Forem API, allowing the tool to retrieve follower information from Dev.to. The Forem API documentation can be found here.src/github_client.py: This script handles interactions with the Github API, specifically for analyzing GitHub-linked followers.
Follow these steps to set up your development environment:
- Clone the repository:
git clone https://github.com/olgazju/blog_dev_to_audience_analyzer.git
cd blog_dev_to_audience_analyzer- Create and activate a virtual environment:
brew update && brew install pyenv pyenv-virtualenv
pyenv install 3.12.2
pyenv virtualenv 3.12.2 blog_dev_to_audience_analyzer
pyenv local blog_dev_to_audience_analyzer- Install the required dependencies:
pip install -r requirements.txt- Install and configure pre-commit hooks:
pip install pre-commit
pre-commit install- Run pre-commit hooks manually (optional):
pre-commit run --all-files- Create a
.envfile in the root of the project with the following format:
DEV_KEY=your_devto_api_key
GITHUB_TOKEN=your_github_tokenReplace your_devto_api_key and your_github_token with your actual Dev.to API key and GitHub token.
- Run the
analysis.ipynbnotebook to perform the analysis. The notebook will retrieve data from Dev.to using the Forem API and, if available, from GitHub for further analysis on linked profiles.
This project will help you uncover valuable insights about your Dev.to audience, so you can make data-driven decisions about your content and engagement strategy.
This tool provides valuable insights into follower engagement by analyzing activity patterns after each article publication.
This plot shows the pattern of my new followers gained over time along with the cumulative follower count, marked against the dates of article publications. The teal bars represent the number of new followers on each day, while the orange line tracks the cumulative follower growth. Noticeable spikes in new followers align closely with specific article publication dates, suggesting that certain articles have significantly boosted follower acquisition. This visualization helps in understanding how content impacts audience growth over time, with clear peaks following key publications.
The chart below shows the distribution of my new followers by category within 14 days of each article's release.

