lattermatter's blog

By lattermatter, 2 weeks ago, In English

ThemeCP natively exports a text file with contest information, but it requires a JSON import. The website recommends using AI to perform the conversion, but it can be finicky and is very slow if you have a lot of contests.

I GPT-ed a script that takes the text file export and converts it to JSON. Paste the Python code below into an online compiler like OneCompiler, paste your text file into the input box and run the code to get JSON output.

Text to JSON ThemeCP

That's all, thanks for reading.

Full text and comments »

  • Vote: I like it
  • +8
  • Vote: I do not like it