Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bajajcodes/urname-translator
Translate your name to binary language and leet speak langugae using urname web app.
https://github.com/bajajcodes/urname-translator
Last synced: 13 days ago
JSON representation
Translate your name to binary language and leet speak langugae using urname web app.
- Host: GitHub
- URL: https://github.com/bajajcodes/urname-translator
- Owner: bajajcodes
- Created: 2021-09-04T19:27:20.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-25T10:42:48.000Z (about 3 years ago)
- Last Synced: 2024-10-11T12:10:19.034Z (about 1 month ago)
- Language: HTML
- Homepage: https://urname-translator.netlify.app/
- Size: 1.15 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Urname Translator
## List of Contents
- Descritpion
- Input
- Output
- Processing
- Screenshots
- Link> **Description:** Want cool nerdy name, if yes then get your name in two different langugaes one is `Binary speak: the way your computer pronounces it` another is `Leet speak: hacker's name`. Just enter your name and get it translated into different languages. `Leet speak` name can also be used as user name for accounts, if media platform allows hackers it do chit-chat. For this app we have use `funtransalations.com API` to translate user input. Urname Translator has two pages as stated formely, both takes user name or any text as input and converts into desired language.
> **Input:** A user has to enter his or her name or any text on choice of page and wait for atmost 5 seconds to get input translated. A empty input get epmpty output but with silence. Inputs dont have any constraints as input can be user name or any text which to be transalted.
> **Output:** User will get to know translated input in five seconds of clicking `Translate` button in the `green` output sectionexcept `API RATE LIMIT REACHED` if rate limit reached then user is informed with alert and told to try after X duration.
> **Processing:**
- User has to enter his or her name or any input text and click on translate button on each page.
- If user entered input is empty, then user will get empty output.
- After clicking on transalte button on any page an API request is made to url `api.funtranslations.com/translate/[type].json` requesting text to translated, then based upon response recieved user is updated either with output or alert. On each page same process is done requesting API then taking action based on response.
- (continued) First user input is checked if it contains some text then API call is made else not, after that (if contains) then with user input is concatenated with desired api url, then encoded and then using fetch API or function request is made and response is taken and check for whether it contains data for request or not if contains then user is updated else alert is send to user, meanwhile error handling is done using catch while API request is being made.
> **Screenshots:**
![Urname Translator home page](https://github.com/shmbajaj/urname-translator/blob/main/media/screenshots/home.png?raw=true)
![Urname Translator binary speak page](https://github.com/shmbajaj/urname-translator/blob/main/media/screenshots/home_bs.png?raw=true)
![Urname Translator binary speak translated text ](https://github.com/shmbajaj/urname-translator/blob/main/media/screenshots/bs_io.png?raw=true)
![Urname Translator leet speak page](https://github.com/shmbajaj/urname-translator/blob/main/media/screenshots/home_ls.png?raw=true)
![Urname Translator leet speak translated text ](https://github.com/shmbajaj/urname-translator/blob/main/media/screenshots/ls_io.png?raw=true)
> **Link:** [Urname Translator](https://urname-translator.netlify.app/index.html)