Algorithm-Arena / weekly-challenge-36-challenge-running

1 stars 0 forks source link

Submission - Challenge Manager #1

Open nikpundik opened 1 month ago

nikpundik commented 1 month ago

Another team working on this challenge: me & @giusfalco

Idea

Our idea was to create a tool to:

challenge-maker.webm

Possible future implementations: a. Auto-posting tweets. b. Downloading YouTube videos.

Since the main goal is to provide a tool that speeds up challenge management, anyone who wants to use this as a starting point is more than welcome! 😉

How to

For running the tool on your local machine:

Repo

https://github.com/nikpundik/challenges/tree/main/challenge-maker

thomaswright commented 1 month ago

This looks great! I don't really want to make my own 😅, so i'm just going to add some additional ideas here:

  1. To further reduce effort, you could fetch the repo list and display the last few challenges at the top so @vjeux just has to click the relevant challenge instead of copy-pasting the link.

https://api.github.com/orgs/Algorithm-Arena/repos?per_page=1000

  1. A little more work but doable is a button to trigger a write to the repo readme after the comments are added, inserting or replacing the "Winner" section. Videos / images can be referenced from their submission links. (He'd have to add a github token for this.)

Idk how twitter's / thread's api works but something similar could probably happen there. I assume @vjeux wants something like a few "Post Results to Twitter" "Post Results to Threads" and "Update Repo Readme" buttons.

  1. In the twitter threads @vjeux usually has a "opening remarks" post with a link to the challenge tweet and a "closing remarks" post with a link to the current week's challenge tweet. These could be additional sections available to write along with the blurbs.