{"id":21278363,"url":"https://github.com/realfx-code/uid-gen","last_synced_at":"2025-03-15T13:40:58.670Z","repository":{"id":60298035,"uuid":"542232633","full_name":"RealFX-Code/uid-gen","owner":"RealFX-Code","description":"Generates random ID, for anything!","archived":false,"fork":false,"pushed_at":"2022-10-29T12:46:15.000Z","size":9150,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T03:44:09.552Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RealFX-Code.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null}},"created_at":"2022-09-27T18:28:24.000Z","updated_at":"2022-09-28T13:12:34.000Z","dependencies_parsed_at":"2023-01-20T18:36:51.030Z","dependency_job_id":null,"html_url":"https://github.com/RealFX-Code/uid-gen","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealFX-Code%2Fuid-gen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealFX-Code%2Fuid-gen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealFX-Code%2Fuid-gen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RealFX-Code%2Fuid-gen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RealFX-Code","download_url":"https://codeload.github.com/RealFX-Code/uid-gen/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243738954,"owners_count":20339997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T10:12:49.024Z","updated_at":"2025-03-15T13:40:58.653Z","avatar_url":"https://github.com/RealFX-Code.png","language":"C#","readme":"# uid\n\nThis is the repo for my FOSS, Uid!\n\n- [uid](#uid)\n  - [What does it do?](#what-does-it-do)\n    - [How it works](#how-it-works)\n  - [Contributing](#contributing)\n    - [Requirements](#requirements)\n    - [Building](#building)\n  - [Installation](#installation)\n\n\n## What does it do?\n\n`uid`, is a program I wrote, that generates a random string of hexadecimal characters.\nWith just running it, You get a 64 character random string, which is the current unix timestamp, encrypted using AES encryption.\nIf you pass a string as an argument to `uid`, It'll encrypt that string. It's not gauranteed to be 64 characters then.\n\nI also added an alternate method for generating an ID, By passing the `-v2` or `-v2q` argument. It'll encrypt a 16 character long string, containing the letters between A-Z and numbers between 0-9. It'll generate a 64 character long uid, just with a different input.\n\nYou may also pass the `-q` or `-v2q` argument to make it only print out the ID and not the input to the encryption.\n\nFor more info on arguments, run `uid -help`.\n\n### How it works\n\nIt uses AES encryption to encrypt a string.\nBy default, without any arguments, it uses the current unix timestamp.\nIf you choose to run `uid` with the `-v2` flag, it'll encrypt a random string of 16 random ASCII characters.\n\n## Contributing\n\nSimply fork the repo and make a pull request. If I can understand the code, and it's an improvement over what's currently in UID, I'll merge it into the master branch.\n\n### Requirements\n\nYou need to have `dotnet-sdk 6.0` installed,\nand `bash` (bash has to be at `/usr/bin/bash` for the scripts to work without tinkering.) , only if you want to run the scripts to build/clean your local environment.\n\nWith `dotnet-sdk 6.0` and `bash` installed, you're ready to build `uid`!\n\n### Building\n\nI don't use Visual Studio, So I don't know if the `.sln` project file still works, since I've edited the `.csproj` file without using Visual Studio.\n\nSimply run `dotnet build ./UniqueIdentifier-gen.csproj`\n\nOr, To build Release binaries for Linux and Windows, I've written a script (`publish.sh`) that'll build and expose built binaries.\n\nTo clean binary files, run the script, `./clean.sh`.\n\n## Installation\n\nRun the script I made to install UID.\n\n```\n# The script does require superuser, it'll ask for that.\n$ ./install.sh\n```\n\nrlfx (c) 2022\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealfx-code%2Fuid-gen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frealfx-code%2Fuid-gen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frealfx-code%2Fuid-gen/lists"}