{"id":29182610,"url":"https://github.com/abhigyantrips/gouwu","last_synced_at":"2025-07-01T20:07:01.898Z","repository":{"id":302042886,"uuid":"1010698816","full_name":"abhigyantrips/gouwu","owner":"abhigyantrips","description":"A Go package for transforming text into uwuspeak.","archived":false,"fork":false,"pushed_at":"2025-06-30T08:18:59.000Z","size":218,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-30T09:28:36.226Z","etag":null,"topics":["golang","seeded","sentences","uwuifier"],"latest_commit_sha":null,"homepage":"https://pkg.go.dev/github.com/abhigyantrips/gouwu","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abhigyantrips.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-29T16:13:51.000Z","updated_at":"2025-06-30T08:19:02.000Z","dependencies_parsed_at":"2025-06-30T09:29:24.364Z","dependency_job_id":"1a378b4e-bf3c-469e-a383-05cb656c8936","html_url":"https://github.com/abhigyantrips/gouwu","commit_stats":null,"previous_names":["abhigyantrips/gouwu"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/abhigyantrips/gouwu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhigyantrips%2Fgouwu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhigyantrips%2Fgouwu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhigyantrips%2Fgouwu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhigyantrips%2Fgouwu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abhigyantrips","download_url":"https://codeload.github.com/abhigyantrips/gouwu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abhigyantrips%2Fgouwu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262947748,"owners_count":23389423,"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":["golang","seeded","sentences","uwuifier"],"created_at":"2025-07-01T20:07:00.839Z","updated_at":"2025-07-01T20:07:01.862Z","avatar_url":"https://github.com/abhigyantrips.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"meta/gouwu-logo.png\" alt=\"gouwu logo\" height=\"120\"\u003e\n  \u003ch1\u003egouwu\u003c/h1\u003e\n  \u003cp\u003e\u003cem\u003eA Go package for transforming text into adorable uwu speak! (´｡• ᵕ •｡`) ♡\u003c/em\u003e\u003c/p\u003e\n  \n  [![Go Reference](https://pkg.go.dev/badge/github.com/abhigyantrips/gouwu.svg)](https://pkg.go.dev/github.com/abhigyantrips/gouwu)\n  [![Go Version](https://img.shields.io/github/go-mod/go-version/abhigyantrips/gouwu)](https://golang.org/)\n  [![License](https://img.shields.io/github/license/abhigyantrips/gouwu)](LICENSE)\n  [![Go Report Card](https://goreportcard.com/badge/github.com/abhigyantrips/gouwu)](https://goreportcard.com/report/github.com/abhigyantrips/gouwu)\n\u003c/div\u003e\n\n## ✨ Features\n\n- 🎯 **Configurable transformations** - Control word, space, and exclamation modifications\n- 🎲 **Deterministic results** - Uses seeded random generation for consistent output\n- 🌐 **URL-safe** - Automatically excludes URLs from transformation\n- 🎨 **Rich expressions** - Includes kawaii faces, actions, and exclamations\n- ⚡ **High performance** - Efficient regex-based transformations\n- 🧪 **Well tested** - Comprehensive test suite included\n\n## 📦 Installation\n\n```bash\ngo get github.com/abhigyantrips/gouwu\n```\n\n## 🚀 Quick Start\n\n```go\npackage main\n\nimport (\n    \"fmt\"\n    \"github.com/abhigyantrips/gouwu\"\n)\n\nfunc main() {\n    // Create a new uwuifier with default settings\n    uwuifier := gouwu.New()\n    \n    // Transform your text!\n    result := uwuifier.UwuifySentence(\"This package is amazing!\")\n    fmt.Println(result)\n    // Output: This package is amazinyg! UwU\n}\n```\n\n## ⚙️ Advanced Configuration\n\nYou can customize the uwuifier behavior with various options:\n\n```go\n// Create uwuifier with custom settings\nuwuifier := gouwu.New(\n    gouwu.WithWords(0.8),              // 80% word transformation probability\n    gouwu.WithSpaces(gouwu.SpacesModifier{\n        Faces:    0.05,                // 5% chance for kawaii faces\n        Actions:  0.03,                // 3% chance for actions\n        Stutters: 0.15,                // 15% chance for stutters\n    }),\n    gouwu.WithExclamations(1.2),       // 120% exclamation intensity\n)\n\n// Use a seeded random generator for deterministic results\nuwuifier.SetSeed(42)\n\ntext := \"Hello world! This is a test sentence.\"\nresult := uwuifier.UwuifySentence(text)\nfmt.Println(result)\n```\n\n## 🎭 Available Transformations\n\n### Word Transformations\n- `r/l` → `w` (hello → hewwo)\n- `R/L` → `W` (HELLO → HEWWO)\n- `n([aeiou])` → `ny$1` (no → nyo)\n- `N([aeiou])` → `NY$1` (NO → NYO)\n- `ove` → `uv` (love → wuv)\n\n### Space Modifiers\n- **Faces**: Random kawaii emoticons `(´｡• ᵕ •｡`) ♡`, `(◕‿◕)♡`, `OwO`, `UwU`\n- **Actions**: Cute actions `*blushes*`, `*giggles*`, `*hugs*`\n- **Stutters**: Word repetition `h-hewwo`, `b-but`\n\n### Exclamations\nEnhanced punctuation with cute expressions and emoticons.\n\n## 🧪 Testing\n\nRun the test suite:\n\n```bash\ngo test ./...\n```\n\nRun tests with coverage:\n\n```bash\ngo test -cover ./...\n```\n\n## 📖 API Reference\n\n### Types\n\n#### `Uwuifier`\nThe main struct that handles text transformations.\n\n#### `SpacesModifier`\nConfiguration for space-based transformations:\n```go\ntype SpacesModifier struct {\n    Faces    float64 // Probability for kawaii faces\n    Actions  float64 // Probability for cute actions  \n    Stutters float64 // Probability for stutters\n}\n```\n\n### Methods\n\n#### `New(options ...Option) *Uwuifier`\nCreates a new Uwuifier instance with optional configuration.\n\n#### `UwuifySentence(sentence string) string`\nTransforms a sentence into uwu speak.\n\n#### `SetSeed(seed int64)`\nSets the random seed for deterministic results.\n\n#### `SetWordsModifier(modifier float64)`\nSets the word transformation probability (0.0-1.0).\n\n#### `SetSpacesModifier(modifier SpacesModifier)`\nSets the space transformation probabilities.\n\n#### `SetExclamationsModifier(modifier float64)`\nSets the exclamation enhancement intensity.\n\n## 📄 License\n\nThis project is licensed under the terms specified in the [LICENSE](LICENSE) file.\n\n## 🙏 Acknowledgments\n\nI had no hand in this monstrosity, and this is a good place to mention that this project was almost completely AI-generated. The complete credits go to [@Schostl](https://github.com/Schotsl/) for breaking their head over creating the [original package](https://github.com/Schotsl/Uwuifier) in TypeScript. I just ported that project into Go because I wanted to use it for a brainrot Discord bot I'm about to build (for *actually* learning Go). The [Uwuifier](https://uwuifier.com) project has its own set of acknowledgements, which I will be quoting here:\n\n\u003e *I was inspired to write this god awful package by*\n\u003e *[this](https://honk.moe/tools/owo.html) site, I would've given full credit but*\n\u003e *it appears he got most of the Regex from the OwO Google Chrome extension made by*\n\u003e *leafysweetsgarden, I would include a link but the page is offline. So short*\n\u003e *story short: I'd like to give a big thanks to leafysweetsgarden for the Regex*\n\u003e *and the inspiration!*\n\n---\n\n\u003cdiv align=\"center\"\u003e\n  Made with disgust by \u003ca href=\"https://github.com/abhigyantrips\"\u003e@abhigyantrips\u003c/a\u003e\n\u003c/div\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhigyantrips%2Fgouwu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabhigyantrips%2Fgouwu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabhigyantrips%2Fgouwu/lists"}