Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stefanbohacek/fediverse-account-analyzer
https://github.com/stefanbohacek/fediverse-account-analyzer
bots botsinspace data dataviz fediverse mastodon
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/stefanbohacek/fediverse-account-analyzer
- Owner: stefanbohacek
- License: mit
- Created: 2022-12-22T16:54:25.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-22T19:28:31.000Z (almost 2 years ago)
- Last Synced: 2024-04-13T21:03:24.797Z (7 months ago)
- Topics: bots, botsinspace, data, dataviz, fediverse, mastodon
- Language: JavaScript
- Homepage: https://stefanbohacek.com/blog/exploring-the-bots-people-make-and-follow-in-the-fediverse/
- Size: 53.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fediverse Account Analyzer
A collection of scripts for analyzing accounts on specific fediverse instances. Currently only Mastodon has been tested.
## Usage
1. Install dependencies with `npm install`.
2. Create a Mastodon app. ([See how.](https://botwiki.org/resource/tutorial/how-to-make-a-mastodon-botsin-space-app-bot/))
3. Rename `.env-example` to `.env` and add your `MASTODON_ACCESS_TOKEN` and update the value for `MASTODON_API_URL`.
4. Add your list of usernames inside `usernames.json` as a JSON-formatted array of URLs.```json
[
"https://INSTANCE.NAME/@account1",
"https://INSTANCE.NAME/@account2",
"https://INSTANCE.NAME/@account3"
]
```5. Run `node download.js` inside `scripts` to download the account information into the `data` folder.
6. Update the `analyze.js` script in the same folder and run it with `node analyze.js` to analyze your data and export the CSV files.## Resources
- https://docs.joinmastodon.org/methods/accounts/#lookup
- https://docs.joinmastodon.org/methods/accounts/#get