paralleldrive/cuid

Question: Is there an active Java implementation?

jmaister opened this issue · 5 comments

I would like to use cuid in a Java project. I've seen there is a link to a project, however, it is archived.

Is there any active Java implementation?

If not, I could implement it and keep it updated.

If it's not linked, I'm not aware of it.

Hello @ericelliott @jmaister,

I've uploaded my Java implementation of the CUID compatible with Java 8 and above. You can find it in this repos: https://github.com/thibaultmeyer/cuid-java.

It would be interesting to create an organization to gather all the implementations in the same place as well as the source of the web site. "usecuid" (like the website domain) is available, could be a good name for the organization. What do you think about this idea?

Open a PR and reference this issue number, and I'll merge into the list of CUID ports.

Organizations cost money to maintain (GitHub Free is missing crucial features like protected branches), so unless we get funding, I'm not going to create an org unless somebody wants to guarantee funding.

OK I will open a PR to reference this new java implementation.

EDIT: Just try on my organization (free plan), protection rule can be used (tested with "require CI success before merge" and "require a PR" rules). The use of roles defining the people/Teams allowed to write/read/only manage PR/... on each repository works very well too (like many open source projects that don't want to pay github).

EDIT 2: PR is open #268

Merged.