human-readable random url
Open
Nobody has claimed this yet.
feature-request
- Dominant language
- Rust
- Stars
- 860
- Forks
- 63
- Avg merge
- 10h 47m
- Merged PRs (30d)
- 1
Description
Example program:
use cgisf_lib::SentenceConfigBuilder;
fn main() {
let sentence = cgisf_lib::gen_sentence(
SentenceConfigBuilder::random()
.plural(false)
.adjectives(1)
.adverbs(1)
.structure(cgisf_lib::Structure::AdjectivesNounVerbAdverbs)
.build(),
);
let sentence = sentence
.replace("The ", "")
.trim_end_matches(".")
.replace(" ", "-");
println!("{sentence}");
}
Would output things like:
rust-kiss-alarms-stealthily
Compared to traditional random hash strings (e.g., "GSlZNwBUGKi"), it achieves semantic structural composition with these advantages:
- Memorability - Uses natural language elements (adjective+noun+verb+adverb) that align with human memory patterns.
- Readability - Word combinations form pseudo-sentence structures (e.g., "rust-kiss-alarms-stealthily" could be interpreted as "rusty kisses stealthily alarm").
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue provides an example using cgisf_lib::SentenceConfigBuilder and shows the desired human-readable slug format. No wastebin file or test is named, so first locate the current random URL generation entry point and its tests, then determine how the requested structure should integrate and how generated URLs will be verified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100