Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shanonplace/contentful-taggrabber
Node script to see all of the tags in Contentful, as well as what entry ID and type they are tagging
https://github.com/shanonplace/contentful-taggrabber
contentful contentful-api contentful-management
Last synced: 3 days ago
JSON representation
Node script to see all of the tags in Contentful, as well as what entry ID and type they are tagging
- Host: GitHub
- URL: https://github.com/shanonplace/contentful-taggrabber
- Owner: shanonplace
- Created: 2023-12-08T01:31:04.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-12T22:11:05.000Z (about 1 year ago)
- Last Synced: 2025-02-01T18:15:17.077Z (3 days ago)
- Topics: contentful, contentful-api, contentful-management
- Language: JavaScript
- Homepage:
- Size: 74.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🚀 Contentful-TagGrabber 🚀
Just a tool to find all of the public and private tags in Contentful and what entries and types they are used in.
## 📦 Installation
1. Clone this repository:
```bash
git clone https://github.com/shanonplace/Contentful-TagGrabber
```
2. Navigate to the project directory:
```bash
cd contentful-taggrabber
```
3. Install the dependencies:
```bash
npm install
```## ⚙️ Configuration
This application uses environment variables for configuration. These need to be stored in a `.env` file at the root of the project. Here's the format:
```properties
CONTENTFUL_SPACE_ID=
CONTENTFUL_ENVIRONMENT=
CONTENTFUL_CMA_ACCESS_TOKEN=
```## 🏃♀️ Usage
Run the application with the following command:
```bash
node index.js
```## 📄 Output Format
The output format is as follows:
```bash
tagname, tagID, entryID, entryTypeID
```To redirect the output into a CSV file, use the following command:
```bash
node index.js > output.csv
```