Skip to main content
Glama
index.html8.99 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>CortexGraph Memory Viewer</title> <link rel="stylesheet" href="style.css"> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> </head> <body> <div class="app-container"> <header class="app-header"> <div class="logo"> <span class="logo-icon">⬡</span> <h1>CortexGraph</h1> </div> <div class="header-controls"> <div class="search-container"> <input type="text" id="search-input" placeholder="Search memories..." autocomplete="off"> <div class="search-icon"> <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="11" cy="11" r="8"></circle> <line x1="21" y1="21" x2="16.65" y2="16.65"></line> </svg> </div> </div> <a href="/graph.html" class="btn-icon" aria-label="Graph View" style="text-decoration: none; color: inherit; display: flex; align-items: center; justify-content: center;"> <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="18" cy="5" r="3"></circle> <circle cx="6" cy="12" r="3"></circle> <circle cx="18" cy="19" r="3"></circle> <line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line> <line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line> </svg> </a> <button id="theme-toggle" class="btn-icon" aria-label="Toggle theme"> <svg class="icon-sun" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <circle cx="12" cy="12" r="5"></circle> <line x1="12" y1="1" x2="12" y2="3"></line> <line x1="12" y1="21" x2="12" y2="23"></line> <line x1="4.22" y1="4.22" x2="5.64" y2="5.64"></line> <line x1="18.36" y1="18.36" x2="19.78" y2="19.78"></line> <line x1="1" y1="12" x2="3" y2="12"></line> <line x1="21" y1="12" x2="23" y2="12"></line> <line x1="4.22" y1="19.78" x2="5.64" y2="18.36"></line> <line x1="18.36" y1="5.64" x2="19.78" y2="4.22"></line> </svg> <svg class="icon-moon" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path> </svg> </button> </div> </header> <div class="controls-bar"> <div class="pagination-controls"> <label for="limit-select">Show:</label> <select id="limit-select" class="limit-select"> <option value="10">10</option> <option value="25">25</option> <option value="50" selected>50</option> <option value="100">100</option> </select> <div class="view-toggle"> <button id="view-grid" class="btn-icon active view-grid-btn" aria-label="Grid View"> <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <rect x="3" y="3" width="7" height="7"></rect> <rect x="14" y="3" width="7" height="7"></rect> <rect x="14" y="14" width="7" height="7"></rect> <rect x="3" y="14" width="7" height="7"></rect> </svg> </button> <button id="view-list" class="btn-icon view-list-btn" aria-label="List View"> <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <line x1="8" y1="6" x2="21" y2="6"></line> <line x1="8" y1="12" x2="21" y2="12"></line> <line x1="8" y1="18" x2="21" y2="18"></line> <line x1="3" y1="6" x2="3.01" y2="6"></line> <line x1="3" y1="12" x2="3.01" y2="12"></line> <line x1="3" y1="18" x2="3.01" y2="18"></line> </svg> </button> </div> </div> <div class="pagination-nav" id="pagination-nav-top"> <button class="prev-btn" disabled>Previous</button> <span class="page-info">Page 1</span> <button class="next-btn" disabled>Next</button> </div> </div> <main class="memories-grid" id="memories-container"> <!-- Memories will be injected here --> <div class="loading-state">Loading memories...</div> </main> <div class="controls-bar bottom-controls"> <div class="pagination-controls"> <label for="limit-select-bottom">Show:</label> <select id="limit-select-bottom" class="limit-select"> <option value="10">10</option> <option value="25">25</option> <option value="50" selected>50</option> <option value="100">100</option> </select> <div class="view-toggle"> <button id="view-grid-bottom" class="btn-icon active view-grid-btn" aria-label="Grid View"> <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <rect x="3" y="3" width="7" height="7"></rect> <rect x="14" y="3" width="7" height="7"></rect> <rect x="14" y="14" width="7" height="7"></rect> <rect x="3" y="14" width="7" height="7"></rect> </svg> </button> <button id="view-list-bottom" class="btn-icon view-list-btn" aria-label="List View"> <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"> <line x1="8" y1="6" x2="21" y2="6"></line> <line x1="8" y1="12" x2="21" y2="12"></line> <line x1="8" y1="18" x2="21" y2="18"></line> <line x1="3" y1="6" x2="3.01" y2="6"></line> <line x1="3" y1="12" x2="3.01" y2="12"></line> <line x1="3" y1="18" x2="3.01" y2="18"></line> </svg> </button> </div> </div> <div class="pagination-nav" id="pagination-nav-bottom"> <button class="prev-btn" disabled>Previous</button> <span class="page-info">Page 1</span> <button class="next-btn" disabled>Next</button> </div> </div> <!-- Modal for Expanded View --> <div id="memory-modal" class="modal hidden"> <div class="modal-content"> <button class="btn-close" aria-label="Close">&times;</button> <div id="modal-body"></div> </div> </div> </div> <!-- Toast Notification --> <div id="toast" class="toast hidden"> <span id="toast-message">Action successful</span> </div> <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script> <script type="module" src="app.js"></script> </body> </html>

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/prefrontalsys/mnemex'

If you have feedback or need assistance with the MCP directory API, please join our Discord server