Update dependencies in package.json and package-lock.json; remove test posts and update welcome post with new content and formatting details.

This commit is contained in:
rattatwinko
2025-06-17 14:58:25 +02:00
parent f8df77561f
commit dfe3e28dab
10 changed files with 577 additions and 64 deletions

View File

@@ -1,10 +0,0 @@
---
title: "Testing Folders"
date: "2024-03-10"
tags: ["test", "feature"]
summary: "A test post to demonstrate folders"
---
# Folders
i hate TS

View File

@@ -1,22 +0,0 @@
---
title: "Testing Hot Reloading"
date: "2024-03-10"
tags: ["test", "feature"]
summary: "A test post to demonstrate hot reloading and date-based sorting"
---
# Testing Hot Reloading
This is a test post to demonstrate the hot reloading feature of our blog system. When you add or modify a post, the changes should appear immediately without needing to refresh the page.
## Features Being Tested
1. Hot reloading of new posts
2. File creation date sorting
3. Real-time updates
## How It Works
The system uses `chokidar` to watch the `posts/` directory for changes. When a new file is added or modified, the blog automatically updates to show the latest content.
The posts are sorted by their file creation date, so newer posts appear at the top of the list.

View File

@@ -1,12 +0,0 @@
---
title: "Upload Test"
date: "2025-05-16"
tags: ["test", "feature"]
summary: "A test post to demonstrate uploads"
---
# Upload Tests
testing the uploading features
![Markdown](https://img.shields.io/badge/markdown-%23000000.svg?style=for-the-badge&logo=markdown&logoColor=white)

View File

@@ -1,27 +1,77 @@
---
title: "Welcome to My Blog"
date: "2024-03-10"
date: "2025-05-17"
tags: ["welcome", "introduction"]
summary: "A warm welcome to my new blog built with Next.js and Markdown"
summary: "Read Me Please"
---
# Welcome to My Blog!
# Welcome to the Blog
This is my first blog post written in Markdown. I'm excited to share my thoughts and ideas with you.
This Blog was built as a response to the lack of blogging systems that accept "Human readable" Formats that are editable in a Terminal Emulator.
## What to Expect
**Prequesits:**
- NPM
- Docker (optional)
- Technical tutorials
- Personal experiences
- Random thoughts
- And much more!
Thats about it.
## Features
## Formating:
This blog is built with:
- Next.js for the framework
- Markdown for content
- TailwindCSS for styling
- Electron for desktop support
Standard Markdown is supported. HTML with some basic CSS too! External CSS Files arent Supported JavaScript files arent supported too. (This will not be supported in the Future as it is a safety risk.)
**This is _Markdown_!**
| Option | Description |
| ------ | ----------- |
| data | path to data files to supply the data that will be passed into templates. |
| engine | engine to be used for processing templates. Handlebars is the default. |
| ext | extension to be used for dest files. |
HTML:
<p style="text-align:center;font-style:italic;font-style:bold;font-size:2em;background-color:grey;font-family:cursive;color:white;">Hello from HTML</p>
```html
<p style="text-align:center;font-style:italic;font-style:bold;font-size:2em;background-color:grey;font-family:cursive;color:white;">Hello from HTML</p>
```
## Some technical Information:
For the development I used:
- Docker
- TypeScript
- Next.JS
- Git (ofc)
## Building:
If you are deploying this on your machine for whatever reason, please note:
- Docker Building is fully implemented and supported
- Docker will deploy this app to Port 8080 (http://localhost:8080)
- If you run this with:
```sh
npm install && npm run dev # or production (if you're fancy enough to deal with it)
```
- note that the build times will take like 10 Years. Docker takes ages too , but once built it can recover shit from the cache. So its faster by a TON.
## Administration
If you are a Admin then the default password / user is
```
user: admin
password: admin
```
> [!CAUTION]
> Change the Administration Password once the Server is set up. This is really easy!
> The server will store your password in a Hash. So be carefull of people getting that Hash.
---
You can pin a Post both in the UI and in the Backend of the Server.
```sh
/path/to/your/instance/posts/pinned.json
```
Stay tuned for more posts!