my-notes / index.html
LVCprt's picture
Add 3 files
93e603b verified
Raw History Blame Contribute Delete
13 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deepsite - Your Knowledge Base</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>
.markdown-content h1 {
@apply text-2xl font-bold mb-4 mt-6 border-b pb-2;
}
.markdown-content h2 {
@apply text-xl font-bold mb-3 mt-5;
}
.markdown-content p {
@apply mb-4 leading-relaxed;
}
.markdown-content ul, .markdown-content ol {
@apply mb-4 pl-6;
}
.markdown-content ul {
@apply list-disc;
}
.markdown-content ol {
@apply list-decimal;
}
.markdown-content pre {
@apply bg-gray-100 p-4 rounded mb-4 overflow-x-auto;
}
.markdown-content code {
@apply bg-gray-100 px-2 py-1 rounded text-sm;
}
.markdown-content blockquote {
@apply border-l-4 border-gray-300 pl-4 italic text-gray-600 mb-4;
}
.markdown-content a {
@apply text-blue-600 hover:text-blue-800 hover:underline;
}
.note-link {
@apply text-purple-600 hover:text-purple-800 hover:underline;
}
.backlink {
@apply bg-gray-100 p-2 rounded mb-2 text-sm;
}
.tag {
@apply bg-blue-100 text-blue-800 px-2 py-1 rounded-full text-xs mr-1;
}
.sidebar-item {
@apply px-4 py-2 hover:bg-gray-100 rounded cursor-pointer flex items-center;
}
.sidebar-item.active {
@apply bg-blue-50 text-blue-700 font-medium;
}
.editor {
min-height: 300px;
}
.note-card {
@apply border rounded-lg p-4 mb-4 hover:shadow-md transition-shadow;
}
.note-card h3 {
@apply font-bold text-lg mb-2;
}
.note-card p {
@apply text-gray-600 text-sm mb-2;
}
.note-card .tags {
@apply mt-2;
}
.graph-container {
height: 400px;
background-color: #f8fafc;
}
</style>
</head>
<body class="bg-gray-50">
<div class="flex h-screen overflow-hidden">
<!-- Sidebar -->
<div class="w-64 bg-white border-r border-gray-200 flex flex-col">
<div class="p-4 border-b border-gray-200">
<h1 class="text-xl font-bold text-gray-800 flex items-center">
<i class="fas fa-brain mr-2 text-purple-600"></i> Deepsite
</h1>
</div>
<div class="flex-1 overflow-y-auto">
<!-- Navigation -->
<div class="py-2">
<div class="sidebar-item active">
<i class="fas fa-home mr-2"></i> Dashboard
</div>
<div class="sidebar-item">
<i class="fas fa-sticky-note mr-2"></i> All Notes
</div>
<div class="sidebar-item">
<i class="fas fa-project-diagram mr-2"></i> Knowledge Graph
</div>
<div class="sidebar-item">
<i class="fas fa-tags mr-2"></i> Tags
</div>
<div class="sidebar-item">
<i class="fas fa-book mr-2"></i> MOCs
</div>
</div>
<!-- Subjects/Folders -->
<div class="px-4 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider">
Subjects
</div>
<div class="pb-2">
<div class="sidebar-item">
<i class="fas fa-folder mr-2 text-yellow-500"></i> Productivity
</div>
<div class="sidebar-item pl-10">
<i class="fas fa-folder mr-2 text-blue-500"></i> Time Management
</div>
<div class="sidebar-item pl-10">
<i class="fas fa-folder mr-2 text-green-500"></i> Task Management
</div>
<div class="sidebar-item">
<i class="fas fa-folder mr-2 text-red-500"></i> Programming
</div>
<div class="sidebar-item pl-10">
<i class="fas fa-folder mr-2 text-purple-500"></i> JavaScript
</div>
<div class="sidebar-item pl-10">
<i class="fas fa-folder mr-2 text-indigo-500"></i> Python
</div>
<div class="sidebar-item">
<i class="fas fa-folder mr-2 text-pink-500"></i> Philosophy
</div>
</div>
<!-- Recent Notes -->
<div class="px-4 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider">
Recent Notes
</div>
<div class="pb-2">
<div class="sidebar-item">
<i class="fas fa-file-alt mr-2 text-gray-400"></i> Zettelkasten Method
</div>
<div class="sidebar-item">
<i class="fas fa-file-alt mr-2 text-gray-400"></i> Bi-directional Linking
</div>
<div class="sidebar-item">
<i class="fas fa-file-alt mr-2 text-gray-400"></i> Progressive Summarization
</div>
</div>
</div>
<div class="p-4 border-t border-gray-200">
<button class="w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-md flex items-center justify-center">
<i class="fas fa-plus mr-2"></i> New Note
</button>
</div>
</div>
<!-- Main Content -->
<div class="flex-1 flex flex-col overflow-hidden">
<!-- Top Bar -->
<div class="bg-white border-b border-gray-200 p-4 flex items-center justify-between">
<div class="flex items-center">
<div class="relative w-64">
<input type="text" placeholder="Search notes..." class="w-full pl-10 pr-4 py-2 border rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-transparent">
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
</div>
</div>
<div class="flex items-center space-x-4">
<button class="p-2 rounded-full hover:bg-gray-100">
<i class="fas fa-moon text-gray-600"></i>
</button>
<button class="p-2 rounded-full hover:bg-gray-100">
<i class="fas fa-cog text-gray-600"></i>
</button>
<div class="w-8 h-8 rounded-full bg-purple-600 flex items-center justify-center text-white font-bold">
U
</div>
</div>
</div>
<!-- Content Area -->
<div class="flex-1 overflow-auto p-6">
<div class="max-w-4xl mx-auto">
<!-- Note Header -->
<div class="mb-6">
<div class="flex justify-between items-start mb-2">
<h1 class="text-3xl font-bold text-gray-800">Zettelkasten Method</h1>
<div class="flex space-x-2">
<button class="p-2 rounded hover:bg-gray-100">
<i class="fas fa-edit text-gray-600"></i>
</button>
<button class="p-2 rounded hover:bg-gray-100">
<i class="fas fa-share-alt text-gray-600"></i>
</button>
<button class="p-2 rounded hover:bg-gray-100">
<i class="fas fa-file-pdf text-gray-600"></i>
</button>
<button class="p-2 rounded hover:bg-gray-100">
<i class="fas fa-ellipsis-v text-gray-600"></i>
</button>
</div>
</div>
<div class="flex items-center text-sm text-gray-500 mb-4">
<span class="mr-4">Created: 2023-05-15</span>
<span>Modified: 2023-06-20</span>
</div>
<div class="flex flex-wrap gap-2 mb-4">
<span class="tag">#knowledge-management</span>
<span class="tag">#productivity</span>
<span class="tag">#note-taking</span>
</div>
</div>
<!-- Note Content -->
<div class="markdown-content mb-8">
<h2>Core Principles</h2>
<p>The Zettelkasten method is a note-taking system that emphasizes <a href="#" class="note-link">[[atomicity]]</a> and <a href="#" class="note-link">[[bi-directional linking]]</a>. Key principles include:</p>
<ul>
<li><strong>Atomicity:</strong> Each note should contain a single idea or concept.</li>
<li><strong>Linking:</strong> Notes should be densely interconnected to form a web of knowledge.</li>
<li><strong>Own Words:</strong> Always write notes in your own words to ensure understanding.</li>
<li><strong>Progressive Summarization:</strong> Refine notes over time by adding layers of summary.</li>
</ul>
<h2>Note Structure</h2>
<p>Each note in the system should follow this structure:</p>
<pre># Title
Unique ID: 202305151234
Created: 2023-05-15
Modified: 2023-05-20
Tags: #knowledge-management #productivity
## Content
[The main content of the note goes here]
## Sources
- [Source 1](https://example.com)
- [Source 2](https://example.com)
## Related Notes
- [[Atomic Notes]]
- [[Progressive Summarization]]
- [[Linking Thinking]]</pre>
<h2>Inter-Note Linking</h2>
<p>Use double brackets <code>[[ ]]</code> to create links to other notes. For example:</p>
<pre>This concept relates to [[Atomic Notes]] and [[Progressive Summarization]].</pre>
<p>This creates bi-directional links that appear in both notes.</p>
<h2>Subject Organization</h2>
<p>Organize notes using a hybrid approach:</p>
<ol>
<li><strong>Tags:</strong> Flat structure for quick categorization (e.g., #productivity, #programming)</li>
<li><strong>MOCs (Maps of Content):</strong> Index notes that collect and organize related notes (e.g., "Productivity MOC")</li>
<li><strong>Folders:</strong> Broad categories for high-level organization (e.g., "Work", "Personal")</li>
</ol>
<h2>Searchability</h2>
<p>To enhance searchability:</p>
<ul>
<li>Use consistent terminology (e.g., always use "note-taking" instead of alternating with "note taking")</li>
<li>Include relevant keywords in the note body</li>
<li>Add an "Keywords" section with synonyms and related terms</li>
</ul>
<h2>PDF Export Workflow</h2>
<p>To export notes to PDF:</p>
<ol>
<li>For single notes: Use the "Export to PDF" button in the note toolbar</li>
<li>For collections:
<ol>
<li>Navigate to the MOC or tag page</li>
<li>Select "Export All"</li>
<li>Choose PDF
</html>