Welcome to MiniBlog, a lightweight and intuitive web application designed to help you create, manage, and export your blog posts with ease. Whether you're a beginner or an experienced blogger, MiniBlog offers a seamless experience to organize your thoughts and share them with the world.
- Create, Edit, and Delete Posts: Easily manage your blog content with user-friendly forms.
- Export and Import JSON: Backup your blog data or migrate it to another instance effortlessly.
- Command Autocomplete: Utilize intuitive commands for streamlined blogging operations.
- Zoom and Sort: Customize your viewing experience with zoom levels and sorting options.
- Search Functionality: Quickly find posts using the search bar with support for exact and partial matches.
- Responsive Design: Access and manage your blog from any device with a clean and responsive interface.
Access your MiniBlog application through GitHub Pages:
-
Open the Add Post Form
Click on the β Add New Post button located in the control panel.
-
Fill in the Post Details
- Picture URL: Enter the URL of an image to associate with the post. If left blank, a random image will be assigned automatically.
- Background Color: Choose a background color for the image container.
- Title: Provide a title for your post.
- Description: Enter a brief description.
- Date: Input the date in
MM/DD/YYYYformat. Defaults to today's date if not specified. - Body: Write your content using Markdown syntax.
-
Save the Post
Click the πΎ Save Post button to add the post to your blog.
-
Locate the Post
Find the post you wish to edit in the Latest Grid.
-
Open the Edit Form
Click on the βοΈ Edit Post button associated with the post.
-
Modify the Details
Update the desired fields in the form.
-
Save Changes
Click the πΎ Save Post button to apply the changes.
-
Locate the Post
Find the post you wish to delete in the Latest Grid.
-
Delete the Post
Click on the ποΈ Delete Post button associated with the post.
-
Confirm Deletion
A confirmation prompt will appear. Click OK to proceed.
-
Click the Export Button
Click on the π₯ Export JSON button in the control panel.
-
Download the JSON File
A JSON file containing your blog data will be downloaded to your device.
-
Click the Import Button
Click on the π Load JSON button in the control panel.
-
Select the JSON File
Choose the previously exported JSON file from your device.
-
Import and View Your Blog
The application will load the data, and your posts will appear in the Latest Grid.
MiniBlog supports various commands to enhance your blogging experience. To access commands, type / in the Command Input field.
-
Open Command Input
Click on the Command Input field and type
/to see available commands. -
Select a Command
As you type, a suggestion box will appear. Use the arrow keys or mouse to select a command.
-
Execute the Command
Press Enter to execute the selected command.
Zooming:
-
Click the π Zoom button to cycle through different zoom levels (75%, 100%, 125%, 150%).
Sorting:
-
Click the π« Sort button to cycle through sorting options:
- π« No Sorting
- ποΈ Sort by Date
- π‘ Sort by Name
- π¨ Sort by Color
-
Click the Clear Button
Click on the π§Ή Clear All button in the control panel.
-
Confirm Clearing
A confirmation prompt will appear. Click OK to remove all data from local storage.
MiniBlog supports the following commands to streamline your blogging process. Access them by typing / in the Command Input field.
Description: Creates a new blog post with the provided title.
Example:
/createpost 'My First Blog Post'
Description: Generates blog content based on the provided prompt using OpenAI's API.
Example:
/generatepost 'Write a blog post about the benefits of remote work.'
Description: Registers your OpenAI API key for content generation.
Example:
/saveapikey 'sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXX'
Description: Removes the currently registered OpenAI API key.
Example:
/clearapikey
This project is licensed under the MIT License.
- Marked.js for Markdown parsing.
- DOMPurify for sanitizing HTML.
- GitHub Pages for hosting the live demo.
Made with β€οΈ by Your Name
[INPUT SCREENSHOT HERE]






















