Skip to content

Commit 871c86b

Browse files
committed
update readme
1 parent 0d430cd commit 871c86b

1 file changed

Lines changed: 34 additions & 12 deletions

File tree

README.md

Lines changed: 34 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,53 @@
1-
# hackertracker-export
1+
# HackerTracker Export
22

3-
Export HackerTracker events to JSON
3+
A tool to export HackerTracker events to JSON format.
44

5-
## Export Static HackerTracker Data
5+
## Table of Contents
66

7-
### Install Dependancies
7+
- [Introduction](#introduction)
8+
- [Installation](#installation)
9+
- [Usage](#usage)
10+
- [Export Static Data](#export-static-data)
11+
- [Tailwind Safelisting Colors](#tailwind-safelisting-colors)
12+
- [References](#references)
13+
14+
## Introduction
15+
16+
HackerTracker Export is a utility designed to fetch and export the most recently updated HackerTracker events from Firebase into static JSON files.
17+
18+
## Installation
19+
20+
### Install Dependencies
21+
22+
To get started, install the required npm packages:
823

924
```bash
10-
npm install
25+
npm install
1126
```
1227

28+
## Usage
29+
1330
### Export Static Data
1431

32+
To export the static data, run the following command:
33+
1534
```bash
16-
npm run export
35+
npm run export
1736
```
1837

19-
_Fetches the 10 recently updated conferences from Firebase and exports static json files to a generated `out` directory_
20-
21-
### Firebase API key
38+
This command will fetch the 25 most recently updated conferences from Firebase and export them as static JSON files into a newly generated `out` directory.
2239

23-
Script requires the Firebase API key to be set as the `FIREBASE_API_KEY` environment variable. This stops [@Advice-Dog](https://github.com/Advice-Dog) from getting alerted every time I leak the key, but you are all hackers and undoubtedly you’ll find it anyway.
40+
### Tailwind Safelisting Colors
2441

25-
### Tailwind Safelisting colors
42+
To safelist colors for Tailwind CSS, use the following command:
2643

2744
```sh
2845
jq '.[].type.color' ./events.json | sort -u | tr '\n' ',' | sed 's/.$//'
2946
```
3047

31-
[Tailwind Docs](https://tailwindcss.com/docs/content-configuration#safelisting-classes)
48+
For more information on safelisting classes in Tailwind CSS, refer to the [Tailwind CSS Documentation](https://tailwindcss.com/docs/content-configuration#safelisting-classes).
49+
50+
## References
51+
52+
- [HackerTracker](https://hackertracker.app/)
53+
- [Tailwind CSS Documentation](https://tailwindcss.com/docs/)

0 commit comments

Comments
 (0)