Add 3 files
Browse files- README.md +7 -5
- index.html +275 -19
- prompts.txt +0 -0
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: my-notes
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: purple
|
| 5 |
+
colorTo: pink
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,275 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Deepsite - Your Knowledge Base</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
.markdown-content h1 {
|
| 11 |
+
@apply text-2xl font-bold mb-4 mt-6 border-b pb-2;
|
| 12 |
+
}
|
| 13 |
+
.markdown-content h2 {
|
| 14 |
+
@apply text-xl font-bold mb-3 mt-5;
|
| 15 |
+
}
|
| 16 |
+
.markdown-content p {
|
| 17 |
+
@apply mb-4 leading-relaxed;
|
| 18 |
+
}
|
| 19 |
+
.markdown-content ul, .markdown-content ol {
|
| 20 |
+
@apply mb-4 pl-6;
|
| 21 |
+
}
|
| 22 |
+
.markdown-content ul {
|
| 23 |
+
@apply list-disc;
|
| 24 |
+
}
|
| 25 |
+
.markdown-content ol {
|
| 26 |
+
@apply list-decimal;
|
| 27 |
+
}
|
| 28 |
+
.markdown-content pre {
|
| 29 |
+
@apply bg-gray-100 p-4 rounded mb-4 overflow-x-auto;
|
| 30 |
+
}
|
| 31 |
+
.markdown-content code {
|
| 32 |
+
@apply bg-gray-100 px-2 py-1 rounded text-sm;
|
| 33 |
+
}
|
| 34 |
+
.markdown-content blockquote {
|
| 35 |
+
@apply border-l-4 border-gray-300 pl-4 italic text-gray-600 mb-4;
|
| 36 |
+
}
|
| 37 |
+
.markdown-content a {
|
| 38 |
+
@apply text-blue-600 hover:text-blue-800 hover:underline;
|
| 39 |
+
}
|
| 40 |
+
.note-link {
|
| 41 |
+
@apply text-purple-600 hover:text-purple-800 hover:underline;
|
| 42 |
+
}
|
| 43 |
+
.backlink {
|
| 44 |
+
@apply bg-gray-100 p-2 rounded mb-2 text-sm;
|
| 45 |
+
}
|
| 46 |
+
.tag {
|
| 47 |
+
@apply bg-blue-100 text-blue-800 px-2 py-1 rounded-full text-xs mr-1;
|
| 48 |
+
}
|
| 49 |
+
.sidebar-item {
|
| 50 |
+
@apply px-4 py-2 hover:bg-gray-100 rounded cursor-pointer flex items-center;
|
| 51 |
+
}
|
| 52 |
+
.sidebar-item.active {
|
| 53 |
+
@apply bg-blue-50 text-blue-700 font-medium;
|
| 54 |
+
}
|
| 55 |
+
.editor {
|
| 56 |
+
min-height: 300px;
|
| 57 |
+
}
|
| 58 |
+
.note-card {
|
| 59 |
+
@apply border rounded-lg p-4 mb-4 hover:shadow-md transition-shadow;
|
| 60 |
+
}
|
| 61 |
+
.note-card h3 {
|
| 62 |
+
@apply font-bold text-lg mb-2;
|
| 63 |
+
}
|
| 64 |
+
.note-card p {
|
| 65 |
+
@apply text-gray-600 text-sm mb-2;
|
| 66 |
+
}
|
| 67 |
+
.note-card .tags {
|
| 68 |
+
@apply mt-2;
|
| 69 |
+
}
|
| 70 |
+
.graph-container {
|
| 71 |
+
height: 400px;
|
| 72 |
+
background-color: #f8fafc;
|
| 73 |
+
}
|
| 74 |
+
</style>
|
| 75 |
+
</head>
|
| 76 |
+
<body class="bg-gray-50">
|
| 77 |
+
<div class="flex h-screen overflow-hidden">
|
| 78 |
+
<!-- Sidebar -->
|
| 79 |
+
<div class="w-64 bg-white border-r border-gray-200 flex flex-col">
|
| 80 |
+
<div class="p-4 border-b border-gray-200">
|
| 81 |
+
<h1 class="text-xl font-bold text-gray-800 flex items-center">
|
| 82 |
+
<i class="fas fa-brain mr-2 text-purple-600"></i> Deepsite
|
| 83 |
+
</h1>
|
| 84 |
+
</div>
|
| 85 |
+
|
| 86 |
+
<div class="flex-1 overflow-y-auto">
|
| 87 |
+
<!-- Navigation -->
|
| 88 |
+
<div class="py-2">
|
| 89 |
+
<div class="sidebar-item active">
|
| 90 |
+
<i class="fas fa-home mr-2"></i> Dashboard
|
| 91 |
+
</div>
|
| 92 |
+
<div class="sidebar-item">
|
| 93 |
+
<i class="fas fa-sticky-note mr-2"></i> All Notes
|
| 94 |
+
</div>
|
| 95 |
+
<div class="sidebar-item">
|
| 96 |
+
<i class="fas fa-project-diagram mr-2"></i> Knowledge Graph
|
| 97 |
+
</div>
|
| 98 |
+
<div class="sidebar-item">
|
| 99 |
+
<i class="fas fa-tags mr-2"></i> Tags
|
| 100 |
+
</div>
|
| 101 |
+
<div class="sidebar-item">
|
| 102 |
+
<i class="fas fa-book mr-2"></i> MOCs
|
| 103 |
+
</div>
|
| 104 |
+
</div>
|
| 105 |
+
|
| 106 |
+
<!-- Subjects/Folders -->
|
| 107 |
+
<div class="px-4 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider">
|
| 108 |
+
Subjects
|
| 109 |
+
</div>
|
| 110 |
+
<div class="pb-2">
|
| 111 |
+
<div class="sidebar-item">
|
| 112 |
+
<i class="fas fa-folder mr-2 text-yellow-500"></i> Productivity
|
| 113 |
+
</div>
|
| 114 |
+
<div class="sidebar-item pl-10">
|
| 115 |
+
<i class="fas fa-folder mr-2 text-blue-500"></i> Time Management
|
| 116 |
+
</div>
|
| 117 |
+
<div class="sidebar-item pl-10">
|
| 118 |
+
<i class="fas fa-folder mr-2 text-green-500"></i> Task Management
|
| 119 |
+
</div>
|
| 120 |
+
<div class="sidebar-item">
|
| 121 |
+
<i class="fas fa-folder mr-2 text-red-500"></i> Programming
|
| 122 |
+
</div>
|
| 123 |
+
<div class="sidebar-item pl-10">
|
| 124 |
+
<i class="fas fa-folder mr-2 text-purple-500"></i> JavaScript
|
| 125 |
+
</div>
|
| 126 |
+
<div class="sidebar-item pl-10">
|
| 127 |
+
<i class="fas fa-folder mr-2 text-indigo-500"></i> Python
|
| 128 |
+
</div>
|
| 129 |
+
<div class="sidebar-item">
|
| 130 |
+
<i class="fas fa-folder mr-2 text-pink-500"></i> Philosophy
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
|
| 134 |
+
<!-- Recent Notes -->
|
| 135 |
+
<div class="px-4 py-2 text-xs font-semibold text-gray-500 uppercase tracking-wider">
|
| 136 |
+
Recent Notes
|
| 137 |
+
</div>
|
| 138 |
+
<div class="pb-2">
|
| 139 |
+
<div class="sidebar-item">
|
| 140 |
+
<i class="fas fa-file-alt mr-2 text-gray-400"></i> Zettelkasten Method
|
| 141 |
+
</div>
|
| 142 |
+
<div class="sidebar-item">
|
| 143 |
+
<i class="fas fa-file-alt mr-2 text-gray-400"></i> Bi-directional Linking
|
| 144 |
+
</div>
|
| 145 |
+
<div class="sidebar-item">
|
| 146 |
+
<i class="fas fa-file-alt mr-2 text-gray-400"></i> Progressive Summarization
|
| 147 |
+
</div>
|
| 148 |
+
</div>
|
| 149 |
+
</div>
|
| 150 |
+
|
| 151 |
+
<div class="p-4 border-t border-gray-200">
|
| 152 |
+
<button class="w-full bg-purple-600 hover:bg-purple-700 text-white py-2 px-4 rounded-md flex items-center justify-center">
|
| 153 |
+
<i class="fas fa-plus mr-2"></i> New Note
|
| 154 |
+
</button>
|
| 155 |
+
</div>
|
| 156 |
+
</div>
|
| 157 |
+
|
| 158 |
+
<!-- Main Content -->
|
| 159 |
+
<div class="flex-1 flex flex-col overflow-hidden">
|
| 160 |
+
<!-- Top Bar -->
|
| 161 |
+
<div class="bg-white border-b border-gray-200 p-4 flex items-center justify-between">
|
| 162 |
+
<div class="flex items-center">
|
| 163 |
+
<div class="relative w-64">
|
| 164 |
+
<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">
|
| 165 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
| 166 |
+
</div>
|
| 167 |
+
</div>
|
| 168 |
+
<div class="flex items-center space-x-4">
|
| 169 |
+
<button class="p-2 rounded-full hover:bg-gray-100">
|
| 170 |
+
<i class="fas fa-moon text-gray-600"></i>
|
| 171 |
+
</button>
|
| 172 |
+
<button class="p-2 rounded-full hover:bg-gray-100">
|
| 173 |
+
<i class="fas fa-cog text-gray-600"></i>
|
| 174 |
+
</button>
|
| 175 |
+
<div class="w-8 h-8 rounded-full bg-purple-600 flex items-center justify-center text-white font-bold">
|
| 176 |
+
U
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
|
| 181 |
+
<!-- Content Area -->
|
| 182 |
+
<div class="flex-1 overflow-auto p-6">
|
| 183 |
+
<div class="max-w-4xl mx-auto">
|
| 184 |
+
<!-- Note Header -->
|
| 185 |
+
<div class="mb-6">
|
| 186 |
+
<div class="flex justify-between items-start mb-2">
|
| 187 |
+
<h1 class="text-3xl font-bold text-gray-800">Zettelkasten Method</h1>
|
| 188 |
+
<div class="flex space-x-2">
|
| 189 |
+
<button class="p-2 rounded hover:bg-gray-100">
|
| 190 |
+
<i class="fas fa-edit text-gray-600"></i>
|
| 191 |
+
</button>
|
| 192 |
+
<button class="p-2 rounded hover:bg-gray-100">
|
| 193 |
+
<i class="fas fa-share-alt text-gray-600"></i>
|
| 194 |
+
</button>
|
| 195 |
+
<button class="p-2 rounded hover:bg-gray-100">
|
| 196 |
+
<i class="fas fa-file-pdf text-gray-600"></i>
|
| 197 |
+
</button>
|
| 198 |
+
<button class="p-2 rounded hover:bg-gray-100">
|
| 199 |
+
<i class="fas fa-ellipsis-v text-gray-600"></i>
|
| 200 |
+
</button>
|
| 201 |
+
</div>
|
| 202 |
+
</div>
|
| 203 |
+
<div class="flex items-center text-sm text-gray-500 mb-4">
|
| 204 |
+
<span class="mr-4">Created: 2023-05-15</span>
|
| 205 |
+
<span>Modified: 2023-06-20</span>
|
| 206 |
+
</div>
|
| 207 |
+
<div class="flex flex-wrap gap-2 mb-4">
|
| 208 |
+
<span class="tag">#knowledge-management</span>
|
| 209 |
+
<span class="tag">#productivity</span>
|
| 210 |
+
<span class="tag">#note-taking</span>
|
| 211 |
+
</div>
|
| 212 |
+
</div>
|
| 213 |
+
|
| 214 |
+
<!-- Note Content -->
|
| 215 |
+
<div class="markdown-content mb-8">
|
| 216 |
+
<h2>Core Principles</h2>
|
| 217 |
+
<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>
|
| 218 |
+
<ul>
|
| 219 |
+
<li><strong>Atomicity:</strong> Each note should contain a single idea or concept.</li>
|
| 220 |
+
<li><strong>Linking:</strong> Notes should be densely interconnected to form a web of knowledge.</li>
|
| 221 |
+
<li><strong>Own Words:</strong> Always write notes in your own words to ensure understanding.</li>
|
| 222 |
+
<li><strong>Progressive Summarization:</strong> Refine notes over time by adding layers of summary.</li>
|
| 223 |
+
</ul>
|
| 224 |
+
|
| 225 |
+
<h2>Note Structure</h2>
|
| 226 |
+
<p>Each note in the system should follow this structure:</p>
|
| 227 |
+
<pre># Title
|
| 228 |
+
Unique ID: 202305151234
|
| 229 |
+
Created: 2023-05-15
|
| 230 |
+
Modified: 2023-05-20
|
| 231 |
+
Tags: #knowledge-management #productivity
|
| 232 |
+
|
| 233 |
+
## Content
|
| 234 |
+
[The main content of the note goes here]
|
| 235 |
+
|
| 236 |
+
## Sources
|
| 237 |
+
- [Source 1](https://example.com)
|
| 238 |
+
- [Source 2](https://example.com)
|
| 239 |
+
|
| 240 |
+
## Related Notes
|
| 241 |
+
- [[Atomic Notes]]
|
| 242 |
+
- [[Progressive Summarization]]
|
| 243 |
+
- [[Linking Thinking]]</pre>
|
| 244 |
+
|
| 245 |
+
<h2>Inter-Note Linking</h2>
|
| 246 |
+
<p>Use double brackets <code>[[ ]]</code> to create links to other notes. For example:</p>
|
| 247 |
+
<pre>This concept relates to [[Atomic Notes]] and [[Progressive Summarization]].</pre>
|
| 248 |
+
<p>This creates bi-directional links that appear in both notes.</p>
|
| 249 |
+
|
| 250 |
+
<h2>Subject Organization</h2>
|
| 251 |
+
<p>Organize notes using a hybrid approach:</p>
|
| 252 |
+
<ol>
|
| 253 |
+
<li><strong>Tags:</strong> Flat structure for quick categorization (e.g., #productivity, #programming)</li>
|
| 254 |
+
<li><strong>MOCs (Maps of Content):</strong> Index notes that collect and organize related notes (e.g., "Productivity MOC")</li>
|
| 255 |
+
<li><strong>Folders:</strong> Broad categories for high-level organization (e.g., "Work", "Personal")</li>
|
| 256 |
+
</ol>
|
| 257 |
+
|
| 258 |
+
<h2>Searchability</h2>
|
| 259 |
+
<p>To enhance searchability:</p>
|
| 260 |
+
<ul>
|
| 261 |
+
<li>Use consistent terminology (e.g., always use "note-taking" instead of alternating with "note taking")</li>
|
| 262 |
+
<li>Include relevant keywords in the note body</li>
|
| 263 |
+
<li>Add an "Keywords" section with synonyms and related terms</li>
|
| 264 |
+
</ul>
|
| 265 |
+
|
| 266 |
+
<h2>PDF Export Workflow</h2>
|
| 267 |
+
<p>To export notes to PDF:</p>
|
| 268 |
+
<ol>
|
| 269 |
+
<li>For single notes: Use the "Export to PDF" button in the note toolbar</li>
|
| 270 |
+
<li>For collections:
|
| 271 |
+
<ol>
|
| 272 |
+
<li>Navigate to the MOC or tag page</li>
|
| 273 |
+
<li>Select "Export All"</li>
|
| 274 |
+
<li>Choose PDF
|
| 275 |
+
</html>
|
prompts.txt
ADDED
|
File without changes
|