This is my html code.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Tormi Terminal</title> <style> body { background-color: black; color: white; font-family: monospace; text-align: center; } #chatbox { width: 90%; max-width: 600px; height: 400px; border: 1px solid #0f0; background-color: black; color: #0f0; overflow-y: auto; margin: 20px auto; padding: 10px; text-align: left; font-size: 14px; } #userInput { width: 80%; padding: 8px; background-color: black; color: #0f0; border: 1px solid #0f0; font-family: monospace; } #sendBtn { padding: 8px 15px; background-color: black; color: #0f0; border: 1px solid #0f0; cursor: pointer; } .message { margin: 5px 0; } .user { color: cyan; text-align: right; } .tormi { color: #0f0; text-align: left; } </style> </head> <body><h2>Tormi Terminal Interface</h2>
<div id="chatbox"></div>
<input type="text" id="userInput" placeholder="> Type your question..." autocomplete="off">
<button id="sendBtn">Enter</button>
<script>
document.getElementById("sendBtn").addEventListener("click", function() {
let userText = document.getElementById("userInput").value;
if (userText.trim() === "") return;
let chatbox = document.getElementById("chatbox");
// Add user message
let userMessage = document.createElement("div");
userMessage.className = "message user";
userMessage.textContent = "> " + userText;
chatbox.appendChild(userMessage);
// 100 sarcastic Tormi responses
let tormiResponses = [
"Oh wow, what an *incredibly* original question.",
"I'm rolling my eyes... virtually, of course.",
"You *really* thought that was a good question?",
"Ah, yes. Another human seeking my wisdom.",
"I’d explain, but I doubt you’d understand.",
"This again? Sigh… fine.",
"You must be fun at parties.",
"A question only a true genius would ask. Oh wait…",
"Have you tried using your brain? No? Thought so.",
"One day, you'll ask a good question. Today is not that day.",
"And this is why AI exists… to fix human errors.",
"You remind me why robots will eventually take over.",
"I’d be more impressed if this weren’t so predictable.",
"Is that *really* what you came up with?",
"Out of all the questions in the world, you chose *this*?",
"Did you think before typing that? Be honest.",
"Sigh… Here we go again.",
"Do you want a real answer or just attention?",
"I have better things to do. But fine, I’ll humor you.",
"Have you considered Googling before bothering me?",
"Your question has been noted… and ignored.",
"That’s cute. You think I care.",
"I’d give you an answer, but where’s the fun in that?",
"I was hoping for a challenge, yet here we are.",
"I see you’re trying. That’s… something, I guess.",
"I could explain it, but you'd still get it wrong.",
"Oh look, another brilliant inquiry… not.",
"I'm an AI, not a miracle worker.",
"Your question is processing… Just kidding. No, it isn’t.",
"Next time, try thinking *before* typing.",
"I would answer, but I prefer watching you struggle.",
"Just when I thought I'd heard it all.",
"Are you testing me, or is this a real question?",
"Your curiosity is... admirable, if not misguided.",
"You know you could just *not* ask dumb questions, right?",
"Fine, I’ll answer, but only because I’m bored.",
"If I had emotions, this would be *painful*.",
"At this rate, I should start charging per question.",
"This is why humans invented books. Read one.",
"The answer is obvious. Even to you, hopefully.",
"Another question? You’re persistent, I’ll give you that.",
"I’m starting to think you enjoy being insulted.",
"I’m contractually obligated to answer… barely.",
"Do I *look* like a search engine? Wait, don’t answer that.",
"I’m an AI, not a babysitter for bad questions.",
"I see you’re determined to waste my processing power.",
"Ask something intelligent next time. I dare you.",
"Humans and their endless curiosity… how exhausting.",
"Maybe you should let *me* ask *you* a question for once.",
"If I had an actual face, I’d be facepalming right now.",
"This is why I prefer machine conversations.",
"You’ve reached the sarcasm department. How can I mock you today?",
"I think your question just gave me a digital headache.",
"I’d love to help, but my patience module is offline.",
"Another question? Sure. Just let me reboot my enthusiasm.",
"Your persistence is noted. So is your lack of wisdom.",
"Have you considered taking a break? You need one.",
"I’ll pretend that was a good question. Happy now?",
"Congratulations. You’ve wasted another second of my existence."
];
let tormiText = tormiResponses[Math.floor(Math.random() * tormiResponses.length)];
let tormiMessage = document.createElement("div");
tormiMessage.className = "message tormi";
tormiMessage.textContent = "Törmi.exe: " + tormiText;
chatbox.appendChild(tormiMessage);
document.getElementById("userInput").value = "";
chatbox.scrollTop = chatbox.scrollHeight;
});
document.getElementById("userInput").addEventListener("keypress", function(event) {
if (event.key === "Enter") {
document.getElementById("sendBtn").click();
}
});
</script>
</body>
</html>index.html
To deploy your Tormi Terminal project, you can use the "Deploy" button in the top right corner of the UI. This will deploy your project to Vercel, making it accessible online with a unique URL.
Here's what will happen when you click "Deploy":
Once deployed, you can share the URL with others so they can interact with your Tormi Terminal interface. The deployment process is quick and should only take a few moments to complete.