Community submissions: Hacker News, Reddit and Product Hunt
open.blog can prepare a post for you to share on Hacker News or in a Reddit community. It never submits for you. It gathers the title, the exact link to your post, the community's rules as a checklist, and a link to the community's own submit form. You read the rules, decide, and submit there yourself, or you don't submit at all. Your Markdown and your own site stay the original. For a product launch, see Product Hunt launch kits.
This is off until you turn it on, and nothing in your build, feeds or cross-posting changes because of it (ADRs 0337 to 0340).
Turn it on#
In openblog.json:
{
"community": {
"hackerNews": { "enabled": true },
"reddit": {
"enabled": true,
"communities": {
"rust": {
"rules": [
"Posts must be about the Rust programming language",
"Self-promotion: at most one post a week, and take part in the discussion"
],
"reviewed": "2026-10-29",
"flair": "blog post"
}
}
}
}
}
hackerNews.enabledandreddit.enabledare off by default. While a destination is off,openblog submitsays how to turn it on and does nothing else.- For Reddit, write down each community you take part in under
communities, by its name withoutr/.rulesis 1 to 30 one-line rules you copy from the community's sidebar or rules page. open.blog never reads them from Reddit, so the rules in your kit are the rules you read.reviewedis the day you last read them; the kit reminds you to read them again after 180 days, or when there is no date.flairis an optional reminder of the flair the community expects. stateFile(default.openblog/community-submissions.json) is where your confirmed submissions are kept. Like the cross-posting state, keep it out of version control. AstateFileinside your static, themes, web or output folder is refused, because the next build would publish it.
No account, token or password is needed or accepted. There is nothing to sign in to.
Prepare a submission#
openblog submit <slug> --to hacker-news,reddit:rust
openblog submit <slug> --to hacker-news --kit share-kit
The post must be published and your site must have its real https address set, as for
cross-posting. Without --kit the kit is printed. With --kit <new folder> open.blog writes
index.html and kit.json there. The folder must not exist yet. The page has no script and needs no server: open it
from disk in any browser.
For each destination the kit shows:
- Status: ready for you to submit by hand, or blocked, with the reasons.
- Title and link: the post's own title (use
--title "…"to use another for this run) and exactly your canonical address, never shortened or tagged. When the post'scanonicalnames another page, that page is the original, so the kit is blocked withcanonical-elsewhere: submit the original instead. - Before you submit: a checklist of the provider's rules, each linked to where it comes from, followed by the community rules you wrote down. The boxes are for you. They are not saved or sent.
- The submit form link, only when nothing blocks. It opens Hacker News's or Reddit's own form with the link and title filled in. You may need to sign in there, and only your own click submits. If a form ignores the filled-in values, copy them from the page.
- After you submit: the command that records it (see below).
What blocks, and what is only advice#
| Destination | Blocks (no submit link) | Advice (you decide) |
|---|---|---|
| Hacker News | empty title; title over 80 characters; invisible characters; already submitted (see below); the post's canonical names another page | a title other than the post's; capitals or ! for emphasis; a leading count such as "10 ways"; the site's name in the title |
empty title; title over 300 characters; invisible characters; the community's rules not written down; already submitted there; the post's canonical names another page | rules read more than 180 days ago or undated; several communities in one kit |
Record what you submitted#
open.blog cannot see whether you submitted. If you did, tell it, with the address of your submission if you have it:
openblog submit <slug> --confirm hacker-news --permalink https://news.ycombinator.com/item?id=12345
openblog submit <slug> --confirm reddit:rust --permalink https://www.reddit.com/r/rust/comments/abc123/
openblog submit <slug> --list
A confirmation is recorded as author-confirmed: your word, never checked with the provider. The address is only checked to be the right kind of address for that destination, and is never opened. A confirmation keeps a repeat from being prepared:
- Reddit: a community you confirmed is blocked for that post from then on.
- Hacker News: blocked for a year. The HN FAQ allows "a small number of reposts" only of a story that "has not had
significant attention in the last year or so". After a year, the kit stays blocked until you add
--again, and then it says it is a repost.
Recording the same destination twice needs --again too. The record is a small JSON file you can edit if you made a
mistake.
What open.blog will never do here#
- Submit, vote, comment or sign in for you, or read anything from Hacker News or Reddit.
- Ask anyone to upvote or share. Both communities penalise that.
- Post the same link to many communities for you. The kit warns when you prepare more than one.
What was checked, and where (2026-10-29)#
- Hacker News: guidelines (original title, no editorialising,
no capitals or exclamation points for emphasis, no gratuitous numbers or site name, no soliciting of votes,
comments or submissions, no delete and repost, your own work only part of the time);
FAQ (reposts, no asking for upvotes); the official
API only publishes data and has no way to submit; the
bookmarklet opens
submitlink?u=…&t=…, the filled-in form. Not verified from an HN document: the 80-character title limit is enforced by HN's form and widely reported, but the guidelines do not state it. - Reddit: Reddit Rules (follow each community's rules, post
authentically where you have a personal interest, no spam or vote manipulation),
spam guidance and the
Data API terms (API access needs Reddit's approval).
Not verified from a Reddit document: these pages refused automated reading when this was written, so their
content was confirmed through quotations of them. The community submit address
(
/r/<community>/submit?url=…&title=…) and the 300-character title limit are long-standing Reddit behaviour, not documented API. If either changes, the title and link on the page still work by copy and paste.
Product Hunt launch kits#
If your post announces a product, open.blog can prepare its Product Hunt launch: the text to paste, the screenshots to upload, a preview, Product Hunt's rules as a checklist, and a link to Product Hunt's own form. It never creates, schedules, uploads or submits a launch, and it never signs in. You do all of that on Product Hunt, or not at all. Your post stays the original: the kit always carries its canonical address, and suggests linking it from your first comment (ADRs 0341 to 0344).
Turn it on and write the launch plan#
In openblog.json, add "productHunt": { "enabled": true } under community. Then write launches/<slug>.json
next to your content (the folder is community.productHunt.launchDir). It is outside content/, so nothing on
your site, in your feeds or in your exports reads it:
{
"launchVersion": 1,
"name": "Field Notes",
"tagline": "A notebook that publishes itself",
"description": "Write in Markdown and publish a fast, accessible static site you own.",
"productUrl": "https://fieldnotes.example/",
"thumbnail": { "file": "launches/field-notes/thumb.png", "alt": "The Field Notes logo" },
"gallery": [
{ "file": "launches/field-notes/editor.png", "alt": "The editor with a draft open" },
{ "file": "launches/field-notes/post.png", "alt": "A published post on a phone" }
],
"demo": "https://www.youtube.com/watch?v=VIDEO_ID",
"tags": ["Writing", "Open Source"],
"makers": ["your_ph_username"],
"firstComment": "Hi, I am the maker. Why I built it: https://notes.example.org/posts/field-notes/",
"launchDay": "2026-11-12"
}
productUrl defaults to your post's address. Image paths are relative to the project and must stay inside it.
Prepare the kit#
openblog submit <slug> --to product-hunt # print it
openblog submit <slug> --to product-hunt --kit ph-kit # write ph-kit/index.html, kit.json and images/
Open index.html in a browser. Each field has a Copy button (or select the text and copy it yourself when
script is off), each image has an Open link, and Open Product Hunt's new launch form appears once nothing
blocks. The page cannot make any request: its security policy allows no fetch, form or outside resource, and only
its own copy script runs.
Blocks (no link to the form): a missing name, tagline or description; a tagline over 60 or a description over
500 characters; a shortened or tracking product link; no thumbnail; fewer than 2 gallery images; an image that is
missing, outside the project, not PNG, JPEG or GIF, or 3 MB or more; a demo that is not a full YouTube address; more
than 3 launch tags; a launch day that has passed in Pacific time or is more than a month away; a launch you already
recorded (until --again); a post whose canonical names another page (that page is the original to launch from).
Advice (worth a second look, never blocks): a description over 260 characters, a tagline ending in a full stop
or equal to your post's title, a thumbnail that is not square, screenshots not shaped like 1270 by 760, an image
without alt, no tags, no launch day, no first comment, a first comment that mentions votes or does not link your
post.
Launch and record it#
On Product Hunt, sign in with your personal account, choose Submit and New product, and paste and upload from the kit. Schedule it or launch it there. Afterwards:
openblog submit <slug> --confirm product-hunt --permalink https://www.producthunt.com/posts/field-notes
The launch is recorded as author-confirmed, your word. The kit is then blocked for that post; Product Hunt
lets a product launch again for each significant new iteration, so --again prepares a relaunch and says so.
What Product Hunt asks, and what open.blog does about it#
| Product Hunt says | open.blog |
|---|---|
| Makers post their own product from a personal account; no company accounts | A checklist item; open.blog has no account and never signs in |
| You cannot ask people directly to upvote | A checklist item, and advice when your first comment mentions votes; open.blog never shares or asks |
| Tagline at most 60 characters; description at most 500 (260 in the help article) | 60 and 500 block; over 260 is advice |
| No shortened or tracking links | Blocks shorteners and utm_*, fbclid, gclid, mc_cid, mc_eid, ref |
| Square thumbnail, at least 2 gallery images, each image under 3 MB, 1270 by 760 recommended | Missing, too few or too large blocks; shape is advice |
| YouTube video only, full address, not private | Anything but a youtube.com/watch?v= address blocks; privacy cannot be checked offline |
| Up to 3 launch tags; schedule up to a month ahead; launches go live 12:01 a.m. Pacific | More than 3 tags, or a day past or beyond 31 days, blocks |
| The API is read-only by default, write access is case by case, no commercial use | open.blog does not use it |
Checked on 2026-10-29 against the launch guide,
Preparing for launch, the
help article on posting and the
API documentation. Not verified: whether Product Hunt's new launch form
(https://www.producthunt.com/posts/new, which sends you to sign in first) reads any prefilled field, so the kit
never passes one; a limit on the product name (none is written; open.blog stops at 80 characters); Product Hunt's
rules for co-maker usernames (open.blog accepts letters, digits and underscores); and the formats Product Hunt
accepts beyond PNG, JPEG and GIF. If Product Hunt changes a limit, the fields stay copyable and the kit says which
limit it checked.
For developers#
- Rust:
openblog_core::community_submission(prepare,kit_page,kit_json,confirm,normalize_permalink,SubmissionRecords); the CLI iscrates/openblog-cli/src/community.rs. - Both communities are in the provider capability contract as the
communityfamily, whose manifests must say the link is submitted by hand and nothing else is possible. A community manifest that claims any adapter capability is refused. - Product Hunt:
openblog_core::launch_kit(LaunchPlan,sniff_image,prepare,kit_page,kit_text,kit_json,COPY_SCRIPTand its hash); the CLI reads the plan and probes the images incommunity.rs. - Tests:
cargo test -p openblog-core community_submission launch_kit,cargo test -p openblog-cli community::, the sharedtests/fixtures/provider-manifests.json,tests/browser/community-submission.spec.mjsandtests/browser/launch-kit.spec.mjs.