nostr-analytics
所属分类:自然语言处理
开发工具:Python
文件大小:0KB
下载次数:0
上传日期:2024-04-05 09:34:17
上 传 者:
sh-1993
说明: 分析去中心化社交网络的NLP引擎。
(Analytics NLP engine for decentralised social networks.)
文件列表:
infrastructure/
src/
tests/
transformation/dbt/
.pdm-python
.pre-commit-config.yaml
LICENSE
pdm.lock
pyproject.toml
# Decentralised Social Networks
Analytics/NLP engine for decentralised social networks.
## Problem statement
Data on Decentralised social networks is sharded and distributed across multiple nodes. Unlike blockchains there is no single source of truth. Decentralised analytics aims to provide a robust, architecture that allows for accurate analytics from decentralised networks such as Nostr and Farcaster.
## Supported Networks
- [Nostr](https://nostr.com/)
- [Farcaster] — TBD
## Tech Stack
- Python Engine
- Data wrangling logic (Requesting prescribed [events](src/nostr/relay.py) from relays)
- Data pipelines/workflows implemented in Prefect
- [Producer](src/kafka/producer.py) (retrieving events from [relays] via websockets)
- [Consumer](src/kafka/consumer.py) (persisting events to BigQuery)
- Prefect for Orchestration
- Apache Kafka for data streaming
- BigQuery for Data Warehousing
- DBT for data modelling
- [MetaBase](https://www.metabase.com/) for dashboards
- Number of active relays displayed on a geographic map
- Number of daily events and their [kinds](https://nostrdata.github.io/kinds/)
## Deployment
- Single command deployment using Terraforma:
- Data pipelines(Prefect application)
- BigQuery datasets
- Metabase dashboards
## Architecture
## Future considerations
– Splitting producer and consumer services
## Usage
## Acknowledgements
Thanks to [@jessthibault](https://github.com/jeffthibault) author of [python-nostr](https://github.com/jeffthibault/python-nostr) where the Nostr [base models](src/nostr/) were largely taken from and modified.
近期下载者:
相关文件:
收藏者: