Source code of my website https://massive.box
Find a file
2025-03-17 17:43:53 +01:00
.husky Rewrite 2025-03-17 17:43:53 +01:00
.idea Rewrite 2025-03-17 17:43:53 +01:00
public Rewrite 2025-03-17 17:43:53 +01:00
src Rewrite 2025-03-17 17:43:53 +01:00
.eslintignore Rewrite 2025-03-17 17:43:53 +01:00
.eslintrc.js Rewrite 2025-03-17 17:43:53 +01:00
.gitignore Rewrite 2025-03-17 17:43:53 +01:00
.markdownlint.json Rewrite 2025-03-17 17:43:53 +01:00
.npmrc Rewrite 2025-03-17 17:43:53 +01:00
.prettierignore Rewrite 2025-03-17 17:43:53 +01:00
.prettierrc Rewrite 2025-03-17 17:43:53 +01:00
astro.config.ts Rewrite 2025-03-17 17:43:53 +01:00
custom.scss Rewrite 2025-03-17 17:43:53 +01:00
docker-compose.yml Rewrite 2025-03-17 17:43:53 +01:00
LICENSE Rewrite 2025-03-17 17:43:53 +01:00
package-lock.json Rewrite 2025-03-17 17:43:53 +01:00
package.json Rewrite 2025-03-17 17:43:53 +01:00
README.md Rewrite 2025-03-17 17:43:53 +01:00
remark-collapse.d.ts Rewrite 2025-03-17 17:43:53 +01:00
tailwind.config.js Rewrite 2025-03-17 17:43:53 +01:00
tsconfig.json Rewrite 2025-03-17 17:43:53 +01:00

MassiveBox's Website

A statically generated website and blog, built with Astro and based on the Astro Paper theme.

Check it out at massive.box.

Getting started

npm install
npm run dev

In order to compile the site, run

npm run build

The website will be built to the ./dist folder.

Blogging with Joplin

You can use Joplin to write and manageyour blog posts, instead of just placing the Markdown files in the src/content/blog folder.

  1. Install Joplin
  2. Start the Web Clipper Service: Tools > Options > Web Clipper > Start Web Clipper Service
  3. Run npm run joplin
  4. Allow the request for an API token on the Joplin app

The script will look for a notebook named Blog. It will then download all notes from that notebook, alongside their attachments, and place them in the src/content/blog folder.

You can embed attachments in your notes, and they will work normally in the blog.
You might need to restart the development server after running the Joplin script.

In order, to have an ogImage (also known as article cover):

  1. Add the image to the note, and change the alt text to ogImage. It will look like this:
    ![ogImage](:/0f409e2b6faf44e48c5c0d99453d02c0)
    
  2. Copy the attachment ID (in this example, it's 0f409e2b6faf44e48c5c0d99453d02c0)
  3. Paste it in your frontmatter like this:
    ogImage: ./0f409e2b6faf44e48c5c0d99453d02c0
    
    Note the . (dot) instead of : (colon)!

License

The original Astro Paper is licensed under the MIT License, Copyright © 2025 Sat Naing.
Any change to the original code is licensed under the AGPLv3 License, Copyright © 2025 MassiveBox.