thayn.cc is a simple, personal, and private URL shortener developed from scratch. The live version of this tool is configured to only be usable with a manually created API key, making it intended for private use with myself and friends. However, users have the flexibility to adapt the code for their own URL shortener or other projects as needed. All URLs on this platform are scanned with Google Safe Search to ensure user safety.
To use thayn.cc in your project:
- Make a POST request to the following URL: https://thayn.cc
- Include the necessary headers:
- "Content-Type": "application/json"
- "X-API-Key": apiKey
- Send the URL you want to shorten in the request body as a JSON object with the key "url".
Example:
const response = await fetch("https://thayn.cc", {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-API-Key": apiKey,
},
body: JSON.stringify({ url: yourURL }),
});
If you wish to contribute to this project, feel free to submit pull requests. Your contributions are welcome.
For information regarding the project's privacy policy, please refer to the Privacy Policy document.
Created with π by Cyan.