Skip to main content

How to create and publish a Code Card

Create a private account card, complete its metadata, and publish it to the Public Library when ready.

P
Written by Private Schmuckatelli

Code Cards you create in My Cards are saved to your account as private drafts first. They are not automatically visible in the Public Library. You decide when to publish them.

Create a new Code Card

  1. Sign in to your Code Card Library account.

  2. Open the My Cards tab.

  3. Select + Create account card.

  4. Fill out the Code Card form.

At minimum, a card needs:

  • a Title

  • a Description

  • a Programming language

  • the Code

You can also add useful optional information such as difficulty level, tags, environment or framework, operating system, architecture, what the code was tested with, source information, license, notes, and warnings.

Source and attribution

If the code is your own, choose Original contribution.

If the code is adapted, excerpted, or taken from official documentation, identify the source. Code Card requires either a source name or source URL for these source types before the card can be saved.

Unsupported programming languages

If your language is not currently supported, choose Other / unsupported language and enter its name.

You can still create the card. Code Card will use a plain-text fallback for the code editor, and signed-in users can optionally indicate how important proper support for that language is.

Save the card

When the form is complete, submit it. The card is saved to your account and appears in My Cards as a Private draft. Creating the card does not publish it.

Publish the card

  1. Find the card in My Cards.

  2. Select Publish.

  3. Review the publication warning.

  4. Select Publish card to confirm.

Once published, the card becomes visible in the Public Library and may be viewed and copied by other visitors. Publishing also makes the card's contributor handle and source metadata visible.

Important: publishing is not verification

Publishing a Code Card does not mean that Code Card Library has independently verified or moderated the code.

Before publishing, review the code itself, its source, licensing information, and any security or compatibility concerns.

You can use Mark tested to record that you personally tested the current revision. This is owner testing and is separate from independent verification.

Can I make a published card private again?

Yes. From My Cards, select Unpublish and confirm the change. The card will leave the Public Library and become private again. Existing private forks created by other users remain in their accounts.

Did this answer your question?