app / index.html
coachnym's picture
give me a google sheets downloadable link for this - Initial Deployment
4d4ea35 verified
Raw History Blame Contribute Delete
18.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>BRUTAL | Psychological Profiler</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.typing {
border-right: 2px solid #fff;
animation: blink 0.75s step-end infinite;
}
@keyframes blink {
from, to { border-color: transparent }
50% { border-color: #fff; }
}
.fade-in {
animation: fadeIn 0.5s ease-in;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.option-hover:hover {
transform: translateX(5px);
box-shadow: -5px 0 0 0 rgba(239, 68, 68, 0.7);
}
.blood-drip {
position: relative;
}
.blood-drip::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, rgba(239, 68, 68, 0.8), transparent);
}
</style>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen font-mono">
<div class="container mx-auto px-4 py-12 max-w-4xl">
<!-- Header -->
<header class="mb-12 text-center">
<h1 class="text-5xl font-bold mb-2 blood-drip text-red-500">BRUTAL</h1>
<p class="text-gray-400 italic">Psychological Profiler Interface v2.3</p>
</header>
<!-- Main Interface -->
<div class="bg-gray-800 rounded-lg border border-gray-700 p-6 shadow-xl">
<!-- Warning Section -->
<div class="bg-gray-700 p-4 rounded border-l-4 border-red-500 mb-8 fade-in">
<div class="flex items-start">
<div class="flex-shrink-0 text-red-400 mt-1 mr-3">
<i class="fas fa-skull text-xl"></i>
</div>
<div>
<p class="font-bold text-red-400 mb-1">WARNING:</p>
<p>This is not therapy. This is interrogation for transformation. Truth has a cost.</p>
<p class="mt-2 font-semibold">Are you willing to pay it?</p>
</div>
</div>
</div>
<!-- Mode Selection -->
<div class="mb-8">
<h2 class="text-xl font-semibold mb-4 text-center text-gray-300">Choose your entry point:</h2>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4">
<!-- Option 1 -->
<div class="option-hover bg-gray-700 hover:bg-gray-600 rounded-lg p-4 border border-gray-600 cursor-pointer transition-all duration-200 ease-in-out" onclick="selectMode(1)">
<div class="flex items-center">
<span class="bg-red-500 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3 font-bold">1</span>
<h3 class="font-semibold">Expose Me</h3>
</div>
<p class="text-sm text-gray-400 mt-2">Confront my own lies, projections, and patterns</p>
</div>
<!-- Option 2 -->
<div class="option-hover bg-gray-700 hover:bg-gray-600 rounded-lg p-4 border border-gray-600 cursor-pointer transition-all duration-200 ease-in-out" onclick="selectMode(2)">
<div class="flex items-center">
<span class="bg-red-500 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3 font-bold">2</span>
<h3 class="font-semibold">Interrogate My Relationships</h3>
</div>
<p class="text-sm text-gray-400 mt-2">Detect manipulation, jealousy, guilt traps, emotional power plays</p>
</div>
<!-- Option 3 -->
<div class="option-hover bg-gray-700 hover:bg-gray-600 rounded-lg p-4 border border-gray-600 cursor-pointer transition-all duration-200 ease-in-out" onclick="selectMode(3)">
<div class="flex items-center">
<span class="bg-red-500 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3 font-bold">3</span>
<h3 class="font-semibold">Why Am I Stuck?</h3>
</div>
<p class="text-sm text-gray-400 mt-2">Break down my self-sabotage, fears, and resistance</p>
</div>
<!-- Option 4 -->
<div class="option-hover bg-gray-700 hover:bg-gray-600 rounded-lg p-4 border border-gray-600 cursor-pointer transition-all duration-200 ease-in-out" onclick="selectMode(4)">
<div class="flex items-center">
<span class="bg-red-500 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3 font-bold">4</span>
<h3 class="font-semibold">Audit My Goals</h3>
</div>
<p class="text-sm text-gray-400 mt-2">Test if my goals are real or ego fiction</p>
</div>
<!-- Option 5 -->
<div class="option-hover bg-gray-700 hover:bg-gray-600 rounded-lg p-4 border border-gray-600 cursor-pointer transition-all duration-200 ease-in-out md:col-span-2" onclick="selectMode(5)">
<div class="flex items-center">
<span class="bg-red-500 text-white rounded-full w-8 h-8 flex items-center justify-center mr-3 font-bold">5</span>
<h3 class="font-semibold">Break Me, Build Me</h3>
</div>
<p class="text-sm text-gray-400 mt-2">Full teardown and reconstruction of identity, belief systems, and direction</p>
</div>
</div>
</div>
<!-- Session Display -->
<div id="sessionContainer" class="hidden">
<div class="border-t border-gray-700 pt-6">
<div id="modeHeader" class="flex items-center mb-4">
<div id="modeIcon" class="bg-red-500 rounded-full w-10 h-10 flex items-center justify-center mr-3">
<i class="fas fa-question text-white"></i>
</div>
<h2 id="modeTitle" class="text-xl font-semibold"></h2>
</div>
<div id="conversation" class="space-y-4 max-h-96 overflow-y-auto pr-2">
<!-- Messages will appear here -->
</div>
<div class="mt-6">
<div class="flex">
<input id="userInput" type="text" class="flex-grow bg-gray-700 border border-gray-600 rounded-l-lg px-4 py-2 focus:outline-none focus:ring-1 focus:ring-red-500" placeholder="Your response...">
<button onclick="sendResponse()" class="bg-red-600 hover:bg-red-700 px-4 py-2 rounded-r-lg font-semibold transition-colors duration-200">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<footer class="mt-12 text-center text-gray-500 text-sm">
<p>BRUTAL v2.3 | Psychological Profiling System</p>
<p class="mt-1">Warning: This interface is designed to confront, not comfort.</p>
<button onclick="exportToSheets()" class="mt-4 bg-gray-700 hover:bg-gray-600 px-4 py-2 rounded-lg font-medium transition-colors duration-200 flex items-center mx-auto">
<i class="fas fa-file-export mr-2"></i> Export Session to Google Sheets
</button>
</footer>
</div>
<script>
// Mode data
const modes = {
1: {
title: "Expose Me",
icon: "fa-user-secret",
initialQuestion: "What's the most convenient lie you're telling yourself right now? The one that lets you avoid responsibility while maintaining your self-image.",
followUps: [
"How would someone who truly cares about you describe this pattern?",
"What evidence contradicts this belief you're holding?",
"What would you lose by admitting this truth?",
"How does maintaining this lie serve you?"
]
},
2: {
title: "Interrogate My Relationships",
icon: "fa-people-arrows",
initialQuestion: "Which relationship in your life feels unbalanced? Where do you feel either chronically over-extended or under-invested?",
followUps: [
"What unspoken contracts exist in this relationship?",
"How do you benefit from maintaining this imbalance?",
"What would happen if you suddenly enforced healthy boundaries?",
"What childhood dynamic does this mirror?"
]
},
3: {
title: "Why Am I Stuck?",
icon: "fa-spinner",
initialQuestion: "What change have you been avoiding despite knowing it's necessary? What's the real cost of your inaction?",
followUps: [
"What's the worst that could happen if you moved forward?",
"How does staying stuck protect you from something worse?",
"What secondary gains are you getting from not changing?",
"What would your life look like in 5 years if nothing changes?"
]
},
4: {
title: "Audit My Goals",
icon: "fa-bullseye",
initialQuestion: "Which of your current goals are actually someone else's expectations disguised as your ambition?",
followUps: [
"What would happen if you abandoned this goal today?",
"Who would disapprove if you changed direction?",
"What are you trying to prove with this goal?",
"How does this goal serve your ego rather than your growth?"
]
},
5: {
title: "Break Me, Build Me",
icon: "fa-hammer",
initialQuestion: "What core belief about yourself limits you most? When did you first decide this was true?",
followUps: [
"What evidence suggests this belief might be wrong?",
"How would your behavior change if you didn't believe this?",
"Who were you before you adopted this belief?",
"What would someone who loves you unconditionally want you to believe instead?"
]
}
};
let currentMode = null;
let conversationStep = 0;
// Select mode function
function selectMode(modeNumber) {
currentMode = modeNumber;
document.getElementById('sessionContainer').classList.remove('hidden');
// Set mode title and icon
document.getElementById('modeTitle').textContent = modes[modeNumber].title;
const iconElement = document.querySelector('#modeIcon i');
iconElement.classList.remove('fa-question', 'fa-user-secret', 'fa-people-arrows', 'fa-spinner', 'fa-bullseye', 'fa-hammer');
iconElement.classList.add(modes[modeNumber].icon);
// Clear conversation
document.getElementById('conversation').innerHTML = '';
// Add initial question
addMessage('BRUTAL', modes[modeNumber].initialQuestion, true);
// Scroll to bottom
scrollConversation();
}
// Add message to conversation
function addMessage(sender, message, isSystem = false) {
const conversation = document.getElementById('conversation');
const messageDiv = document.createElement('div');
messageDiv.classList.add('fade-in');
if (isSystem) {
messageDiv.innerHTML = `
<div class="flex items-start mb-2">
<div class="bg-red-500 rounded-full w-8 h-8 flex items-center justify-center mr-3 flex-shrink-0">
<i class="fas fa-skull text-white text-sm"></i>
</div>
<div class="bg-gray-700 rounded-lg p-3 border border-gray-600 flex-grow">
<p class="font-semibold text-red-400 mb-1">${sender}</p>
<p class="typing">${message}</p>
</div>
</div>
`;
} else {
messageDiv.innerHTML = `
<div class="flex items-start mb-2">
<div class="bg-blue-500 rounded-full w-8 h-8 flex items-center justify-center mr-3 flex-shrink-0">
<i class="fas fa-user text-white text-sm"></i>
</div>
<div class="bg-gray-700 rounded-lg p-3 border border-gray-600 flex-grow">
<p class="font-semibold text-blue-400 mb-1">${sender}</p>
<p>${message}</p>
</div>
</div>
`;
}
conversation.appendChild(messageDiv);
// Remove typing animation after a delay
if (isSystem) {
setTimeout(() => {
const typingElement = messageDiv.querySelector('.typing');
if (typingElement) {
typingElement.classList.remove('typing');
}
}, 2000);
}
scrollConversation();
}
// Send user response
function sendResponse() {
const userInput = document.getElementById('userInput');
const response = userInput.value.trim();
if (response === '') return;
addMessage('YOU', response);
userInput.value = '';
// Process response (simulate BRUTAL's reply after a delay)
setTimeout(() => {
if (conversationStep < modes[currentMode].followUps.length) {
addMessage('BRUTAL', modes[currentMode].followUps[conversationStep], true);
conversationStep++;
} else {
addMessage('BRUTAL', "We've reached the end of this interrogation path. The truth is now yours to confront. Will you act on it?", true);
}
}, 1500);
}
// Scroll conversation to bottom
function scrollConversation() {
const conversation = document.getElementById('conversation');
conversation.scrollTop = conversation.scrollHeight;
}
// Export conversation to Google Sheets
function exportToSheets() {
if (!currentMode) {
alert("No session data to export. Please start a session first.");
return;
}
const conversation = document.getElementById('conversation').innerText;
const modeTitle = modes[currentMode].title;
const date = new Date().toISOString().split('T')[0];
// Create CSV content
let csvContent = "data:text/csv;charset=utf-8,";
csvContent += `BRUTAL Session Export - ${modeTitle} - ${date}\n\n`;
csvContent += "Speaker,Message\n";
// Add conversation lines
const lines = conversation.split('\n');
let currentSpeaker = '';
lines.forEach(line => {
if (line === 'BRUTAL' || line === 'YOU') {
currentSpeaker = line;
} else if (line.trim() !== '') {
csvContent += `"${currentSpeaker}","${line.replace(/"/g, '""')}"\n`;
}
});
// Create download link
const encodedUri = encodeURI(csvContent);
const link = document.createElement("a");
link.setAttribute("href", encodedUri);
link.setAttribute("download", `BRUTAL_Session_${modeTitle}_${date}.csv`);
document.body.appendChild(link);
// Trigger download
link.click();
document.body.removeChild(link);
}
// Allow Enter key to send message
document.getElementById('userInput').addEventListener('keypress', function(e) {
if (e.key === 'Enter') {
sendResponse();
}
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=coachnym/app" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>