https://github.com/arn4v/covid-resources
Next.js based Covid 19 Twitter Resources Aggregator for India
https://github.com/arn4v/covid-resources
Last synced: 12 months ago
JSON representation
Next.js based Covid 19 Twitter Resources Aggregator for India
- Host: GitHub
- URL: https://github.com/arn4v/covid-resources
- Owner: arn4v
- Created: 2021-04-21T15:05:33.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-04-27T19:52:41.000Z (about 5 years ago)
- Last Synced: 2025-04-13T11:40:45.986Z (about 1 year ago)
- Language: JavaScript
- Homepage: covidresources.vercel.app
- Size: 619 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# covid-resources - Covid 19 Twitter Resources Aggregator
**covid-resources** scrapes tweets from Twitter's search page (using Twitter's advanced search feature) and collates them on one page.
Link - [https://covidresources.vercel.app](https://covidresources.vercel.app)
Want to contribute? Check the [Contributing](#contributing) section.
## Get Started
Set the variables in .env.example and move them to .env.local
```
npm install
npm run build
npm run dev
```
## Environment Variables
```bash
FB_PRIVATE_KEY= # Private key from firebase service account json
FB_CLIENT_EMAIL= # Client email from firebase service account json
FB_PROJECT_ID= # Your firebase project id
NEXT_PUBLIC_CLARITY_ID= # Microsoft Clarity ID
```
## Data Models
1. **Tweet & Tweets Document**
```typescript
type Tweet = {
tweetId: string
username: string
for: Record
location: Record
}
type Tweets = Record
```
2. **Locations**
```typescript
type Locations = Record
```
3. **Location Resources**
```typescript
type ResourceTitle = string
type ResourceURL = string
type LocationResources = Record>
```
4. **Resources**
```typescript
type SearchTerm = string
type Resources = Record
```
## Contributing