Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.33 KB

README.md

File metadata and controls

53 lines (33 loc) · 1.33 KB

HackerTracker Export

A tool to export HackerTracker events to JSON format.

Table of Contents

Introduction

HackerTracker Export is a utility designed to fetch and export the most recently updated HackerTracker events from Firebase into static JSON files.

Installation

Install Dependencies

To get started, install the required npm packages:

npm install

Usage

Export Static Data

To export the static data, run the following command:

npm run export

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.

Tailwind Safelisting Colors

To safelist colors for Tailwind CSS, use the following command:

jq '.[].type.color' ./events.json | sort -u | tr '\n' ',' | sed 's/.$//'

For more information on safelisting classes in Tailwind CSS, refer to the Tailwind CSS Documentation.

References