A simple tool to reveal the full URL behind did.li shortened links.
Similar to bit.ly's "+" feature that allows users to preview the destination of shortened links, un-did-li provides this missing functionality for did.li links. This tool helps users verify the destination of did.li shortened URLs before visiting them.
- (Almost) Instantly reveal full URLs behind did.li shortened links
- Clean, modern interface
- No registration required
- Fast and reliable
Base URL: un-did-li.vercel.app/api
path
: The did.li URL identifier (Required)
For the shortened URL did.li/abc123
, use:
GET un-did-li.vercel.app/api?path=abc123
{
"result": string
}
Status | Response | Meaning |
---|---|---|
200 | { "result": "https://..." } |
Success - Returns the full URL |
400 | { "result": "Invalid path parameter" } |
Missing or invalid path parameter |
404 | { "result": "Link doesn't exist" } |
The did.li link was not found |
500 | { "result": "Server error" } |
Error reaching did.li servers |
try {
const response = await fetch('un-did-li.vercel.app/api?path=abc123');
if (!response.ok) {
throw new Error(`HTTP error! status: ${response.status}`);
}
const data = await response.json();
console.log(data.result); // The full URL
} catch (error) {
console.error('Error:', error);
}
- Clone the repository:
git clone https://github.com/itsrn/un-did-li.git
- Install dependencies:
cd un-did-li
bun install
- Start the development server:
bun run dev
- Open http://localhost:3000 in your browser
This project is licensed under the MIT License.
Contributions are welcome! Feel free to open issues and submit pull requests.