{"id":24731447,"url":"https://github.com/duesseldorp/random_number_wp","last_synced_at":"2026-04-24T22:35:05.268Z","repository":{"id":274341097,"uuid":"922617930","full_name":"Duesseldorp/random_number_wp","owner":"Duesseldorp","description":"This is a wordpress plugin that assigns random numbers to a list of names.","archived":false,"fork":false,"pushed_at":"2025-01-27T15:10:15.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-19T07:07:50.947Z","etag":null,"topics":["plugin","random","wordpress"],"latest_commit_sha":null,"homepage":"https://www.duesseldorp.de","language":"PHP","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/Duesseldorp.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-01-26T17:23:43.000Z","updated_at":"2025-01-27T15:10:19.000Z","dependencies_parsed_at":"2025-01-26T18:38:03.600Z","dependency_job_id":"75367d59-222c-4fef-bdc8-60b386807490","html_url":"https://github.com/Duesseldorp/random_number_wp","commit_stats":null,"previous_names":["duesseldorp/random_number_wp"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Duesseldorp/random_number_wp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duesseldorp%2Frandom_number_wp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duesseldorp%2Frandom_number_wp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duesseldorp%2Frandom_number_wp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duesseldorp%2Frandom_number_wp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Duesseldorp","download_url":"https://codeload.github.com/Duesseldorp/random_number_wp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Duesseldorp%2Frandom_number_wp/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260705874,"owners_count":23049493,"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":["plugin","random","wordpress"],"created_at":"2025-01-27T16:49:35.432Z","updated_at":"2026-04-24T22:35:05.241Z","avatar_url":"https://github.com/Duesseldorp.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Random Number WP\n\n**Random Number WP** is a WordPress plugin that allows you to assign random numbers to a list of names and display them in a sorted list. It’s perfect for games, contests, or team assignments!\n\n---\n\n## **Features**\n- **Random Number Assignment**: Assigns a unique random number (between 1 and 100) to each name.\n- **Sorted List**: Displays the names and their numbers in ascending order.\n- **User-Friendly Interface**: Clean and intuitive design.\n- **Translation-Ready**: Supports multiple languages using WordPress’s translation system.\n\n---\n\n## **Installation**\n\n1. **Download the Plugin**:\n   - Download the plugin files from the [GitHub repository](https://github.com/Duesseldorp/random_number_wp/).\n\n2. **Upload to WordPress**:\n   - Go to **Plugins \u003e Add New \u003e Upload Plugin** in your WordPress admin dashboard.\n   - Upload the `random-number-wp.zip` file and click **Install Now**.\n\n3. **Activate the Plugin**:\n   - After installation, click **Activate Plugin**.\n\n---\n\n## **Usage**\n\n1. **Add the Tool to a Page or Post**:\n   - Use the shortcode `[random_number_wp]` in any post or page where you want the tool to appear.\n\n2. **Enter Names**:\n   - Input a list of names, separated by commas, into the text box.\n\n3. **Generate Random Numbers**:\n   - Click the \"Start\" button, and the tool will assign a random number to each name, displaying them one by one with a 1-second delay.\n\n4. **View Sorted List**:\n   - After all names are displayed, the tool will show a sorted list of names and their numbers in ascending order.\n\n---\n\n## **Customization**\n\n### **Change the Range of Random Numbers**\n- In `script.js`, modify the `getSecureRandomNumber(1, 100)` function to change the range of random numbers.\n- Example: Use `getSecureRandomNumber(50, 200)` for numbers between 50 and 200.\n\n---\n\n### **Update Styling**\n- Edit the `style.css` file to customize the appearance of the tool.\n- Example: Change the background color, font, or button style.\n\n---\n\n## **Security**\n\n- **Input Sanitization**: The plugin uses the `escapeHtml()` function to sanitize user input and prevent XSS attacks.\n- **Secure Randomness**: The plugin uses `crypto.getRandomValues()` for cryptographically secure random numbers.\n\n---\n\n## **License**\n\nThis project is open-source and available under the [MIT License](LICENSE). Feel free to use, modify, and distribute it as needed.\n\n---\n\n## **Author**\n\nMartin Gräbing \nkontakt@duesseldorp.de \nhttps://www.github.com/duesseldorp\n\n---\n\nEnjoy using **Random Number WP**! 😊\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduesseldorp%2Frandom_number_wp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduesseldorp%2Frandom_number_wp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduesseldorp%2Frandom_number_wp/lists"}