Skip to content
open.blog documentation
open.blog

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.enabled and reddit.enabled are off by default. While a destination is off, openblog submit says how to turn it on and does nothing else.
  • For Reddit, write down each community you take part in under communities, by its name without r/. rules is 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. reviewed is the day you last read them; the kit reminds you to read them again after 180 days, or when there is no date. flair is 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. A stateFile inside 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's canonical names another page, that page is the original, so the kit is blocked with canonical-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#

DestinationBlocks (no submit link)Advice (you decide)
Hacker Newsempty title; title over 80 characters; invisible characters; already submitted (see below); the post's canonical names another pagea title other than the post's; capitals or ! for emphasis; a leading count such as "10 ways"; the site's name in the title
Redditempty title; title over 300 characters; invisible characters; the community's rules not written down; already submitted there; the post's canonical names another pagerules 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 saysopen.blog
Makers post their own product from a personal account; no company accountsA checklist item; open.blog has no account and never signs in
You cannot ask people directly to upvoteA 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 linksBlocks 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 recommendedMissing, too few or too large blocks; shape is advice
YouTube video only, full address, not privateAnything 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. PacificMore 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 useopen.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 is crates/openblog-cli/src/community.rs.
  • Both communities are in the provider capability contract as the community family, 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_SCRIPT and its hash); the CLI reads the plan and probes the images in community.rs.
  • Tests: cargo test -p openblog-core community_submission launch_kit, cargo test -p openblog-cli community::, the shared tests/fixtures/provider-manifests.json, tests/browser/community-submission.spec.mjs and tests/browser/launch-kit.spec.mjs.

View this page's source