Creating a link to start a new topic with pre-filled information

ここには多くの技術的な重労働があり、それがこれを凡人には少し受け入れがたいものにしています。人々がこれらのリンクを簡単に生成できる「ヘルパー」ウェブページを作成できると思います。

これに相当するものは、誰かが実装するための気の利いた小さなプロジェクトになるかもしれません。

import urllib

site = 'meta.discourse.org'
title = '''My special checklist'''
category = 'todo'
tags = ['tag1', 'tag2']

template = '''\
# Important!

Do these things:

[ ] thing one
[ ] thing two
'''

query = urllib.parse.urlencode(dict(
    title =    title,
    category = category,
    tags =     ','.join(tags),
    body =     template,
))
print(f'https://{site}/new-topic?{query}')

このリンク を出力します

「いいね!」 4