Latest / Developer tools

str

github.com · Open source · Maintained

C string handling library that works alongside classic C strings

Visit github.com ↗Share

  • string
  • atoi
  • buffer management
  • c string library
  • strbuf c
  • c string view
  • c atoi helper
  • c string buffer
Stars
262
Forks
17
Open issues
0
Last commit
Releases
5
Found
3 years ago

GitHub figures as of . They are context, not a ranking.

A C string handling library designed to be convenient while working alongside classic C strings. The repository describes it as inspired by an earlier library by Luca Sas, and it is aimed at C programmers.

Repository description on GitHub: “C String handling library inspired by Luca Sas”

What it does

  • C string library with separate headers for views, buffers and number parsing
  • Convenient string API that works alongside classic C strings
  • Single-header strbuf.h on the main branch with API references

Good for

  • Parse numbers from strings with strnum.h
  • Build strings in a buffer with strbuf.h
  • Pass string views to functions that take them

Suits: C programmers who want a friendlier string API.

Worth knowing: The older allocator-aware API now lives on a separate alloc-aware branch

What you can try

Read the README on GitHub and install from source.

Links go to third-party sites KipFound does not control. KipFound has not installed, audited or tested this software.

Found vs. released

Kip first saw str on , when mickjc750 posted it to Show HN. The oldest published release on GitHub is v1.0.0, dated . Its first tagged release came 99 days after it was found. 5 releases have been published in total; the latest is V4.0.0 ().

Day-7 and day-30 updates

Day 7 no new release

  • No tagged release was published in the first 7 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 107 points, 132 comments. API record

Checked , later than day 7 because tracking began after.

Day 30 no new release

  • No tagged release was published in the first 30 days after it was found (GitHub release dates).
  • Show HN discussion at check time: 107 points, 132 comments. API record

Checked , later than day 30 because tracking began after.

Release timeline every entry links to its source

Releases per month, last 24 months (1 in total, busiest month 1).
  1. Repository created on GitHub: mickjc750/str
  2. Found: mickjc750 posted it to Show HN. Show HN
  3. Release v1.0.0
  4. Release v1.1.0
  5. Release v2.0.0
  6. Release V3.0.0
  7. Release V4.0.0
  8. Day-7 check recorded by Kip (details)
  9. Day-30 check recorded by Kip (details)

Quick answers

When was str released?
Its first tagged release on GitHub is dated 12 Mar 2023. Kip found it on Show HN on 3 Dec 2022.
Is str open source?
Its source is public on GitHub at mickjc750/str under the Unlicense licence.
What does str run on?
Library.
Is str free?
It is open source, so the code is free to read and run; check the licence for terms.
Is str still maintained?
It had a commit or release in the last year, though not in the last 90 days, as of the latest check.

Provenance

SourceRecordLast checked
Show HNlisting
official API record
GitHub repositorymickjc750/str
REST API record
GitHub Releasesrelease list
REST API record

Stable ID hn-33842981. Summary written by KipFound’s editor.

Share

Similar tools

More in Developer tools

Made this, or spotted a mistake? Ask for a correction or removal. No account or email address needed.