DenverCoder1 / DenverCoder1/github-readme-youtube-cards

🚀 Feature: JSON output option

Open
#25 17 comments 0 reactions 0 assignees View on GitHub
feature good first issue up-for-grabs
Dominant language
Python
Stars
282
Forks
65
Avg merge
5d 9h
Merged PRs (30d)
2

Description

The user may want to parse the output manually in a different action step.

An option, for example, `output_type: "json"` could be useful to allow such customization more easily.

A format such as the following may be useful (all the params, plus the svg card url)

```jsonc
[
{
"id": "...",
"title": "...",
"timestamp": "...",
"background_color": "...",
"title_color": "...",
"stats_color": "...",
"width": "...",
"duration": "...", // if applicable
"image_url": "https://ytcards.demolab.com/?id=...&...",
},
{
...
},
]
```

This can be coordinated with #24 since both involve adding `output_type`.

Contributor guide

Open the contributing guide

Research direction

Start by tracing how the workflow currently produces output, then review issue #24 because both proposals involve output_type. Done means accepting output_type: "json" and emitting the requested video fields plus the SVG card URL in a parseable JSON format.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, python
Domain
devops
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.