diff --git a/app.js b/app.js index 6542f17..799e808 100644 --- a/app.js +++ b/app.js @@ -166,6 +166,26 @@ app.get('/about', (req, res) => { }); }); +// About Route (Load markdown and render using EJS) +app.get('/about-rayai', (req, res) => { + const aboutMarkdownFile = path.join(__dirname, 'me', 'about-rayai.md'); + + // Read the markdown file and convert to HTML + fs.readFile(aboutMarkdownFile, 'utf-8', (err, data) => { + if (err) { + return res.status(500).send('Error loading About page'); + } + + const aboutContentHtml = marked(data); // Convert markdown to HTML + + res.render('about', { + title: `About RayAI`, + content: aboutContentHtml, + menuItems // Pass the menu items to the view + }); + }); +}); + // Contact Route (Render the contact form) app.get('/contact', (req, res) => { res.render('contact', { diff --git a/me/about-rayai.md b/me/about-rayai.md new file mode 100644 index 0000000..333a2bc --- /dev/null +++ b/me/about-rayai.md @@ -0,0 +1,19 @@ +

About RayAI

+ +

System Overview

+ +

OS: Ubuntu 24.04 LTS (x86_64)

+

Kernel: 15.5

+ +

Hardware Specs

+ +

CPU: AMD FX-8320E (8 cores) @ 3.20 GHz

+

GPU: NVIDIA GeForce RTX 2060 SUPER

+

Total System Memory: 24 GB

+ +

AI Model

+ +

Model: Meta-Llama-3.2 (3B)

+ +

https://blog.raven-scott.fyi/rayai-at-home-chat-assistant-server

+ diff --git a/public/js/chat.js b/public/js/chat.js index bf8456d..3e9774c 100644 --- a/public/js/chat.js +++ b/public/js/chat.js @@ -212,3 +212,7 @@ function openTop() { window.open('https://ai-top.x64.world/', 'liveLogGtopWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes'); } +function openAbout() { + window.open('https://raven-scott.fyi/about-rayai', 'liveLogGtopWindow', 'width=800,height=600,menubar=no,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes'); +} + diff --git a/views/about-rayai.ejs b/views/about-rayai.ejs new file mode 100644 index 0000000..5634d3f --- /dev/null +++ b/views/about-rayai.ejs @@ -0,0 +1,76 @@ + + + + + + + + + <%= title %> | <%= process.env.OWNER_NAME %>'s' Blog + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+ <%- content %> +
+
+
+ + + + + + + + + + diff --git a/views/chat.ejs b/views/chat.ejs index 46b40d5..0fdb8b2 100644 --- a/views/chat.ejs +++ b/views/chat.ejs @@ -72,6 +72,9 @@ +