From 151b21a02e8f43a091ec1a78c794b97f43a5cfc9 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Mon, 24 Jul 2023 00:42:28 -0700 Subject: Initial Commit --- .gitignore | 2 + README.md | 69 +---- astro.config.mjs | 2 +- markdown-style-guide.md | 107 +++++++ package-lock.json | 12 + package.json | 5 +- public/603.png | Bin 0 -> 5772475 bytes public/603banner.png | Bin 0 -> 721223 bytes public/favicon.svg | 19 +- public/placeholder-about.jpg | Bin 72964 -> 0 bytes public/projects/github-mark-white.svg | 1 + public/projects/holodex.png | Bin 0 -> 1273 bytes public/projects/nijitrack.png | Bin 0 -> 3141 bytes public/projects/patchwork.png | Bin 0 -> 4571 bytes src/components/Footer.astro | 2 +- src/components/Header.astro | 2 - src/consts.ts | 4 +- src/content/blog/first-post.md | 16 - src/content/blog/markdown-style-guide.md | 107 ------- .../blog/patchwork-posts/patchwork-archive-1.md | 55 ++++ .../blog/patchwork-posts/patchwork-archive-2.md | 330 +++++++++++++++++++++ src/content/blog/second-post.md | 16 - src/content/blog/third-post.md | 16 - src/content/blog/using-mdx.mdx | 31 -- src/layouts/BlogPost.astro | 3 +- src/pages/about.astro | 65 ++-- src/pages/blog/[...slug].astro | 1 - src/pages/blog/index.astro | 2 +- src/pages/index.astro | 170 +++++++++-- src/styles/global.css | 28 +- src/styles/skeleton-light.css | 261 ++++++++++++++++ 31 files changed, 965 insertions(+), 361 deletions(-) create mode 100644 markdown-style-guide.md create mode 100644 public/603.png create mode 100644 public/603banner.png delete mode 100644 public/placeholder-about.jpg create mode 100644 public/projects/github-mark-white.svg create mode 100644 public/projects/holodex.png create mode 100644 public/projects/nijitrack.png create mode 100644 public/projects/patchwork.png delete mode 100644 src/content/blog/first-post.md delete mode 100644 src/content/blog/markdown-style-guide.md create mode 100644 src/content/blog/patchwork-posts/patchwork-archive-1.md create mode 100644 src/content/blog/patchwork-posts/patchwork-archive-2.md delete mode 100644 src/content/blog/second-post.md delete mode 100644 src/content/blog/third-post.md delete mode 100644 src/content/blog/using-mdx.mdx create mode 100644 src/styles/skeleton-light.css diff --git a/.gitignore b/.gitignore index 6240da8..e65c33f 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,5 @@ pnpm-debug.log* # macOS-specific files .DS_Store + +.vscode diff --git a/README.md b/README.md index 33c8496..ee75773 100644 --- a/README.md +++ b/README.md @@ -1,68 +1,3 @@ -# Astro Starter Kit: Blog +# pinapelz.com -``` -npm create astro@latest -- --template blog -``` - -[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/astro/tree/latest/examples/blog) -[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/astro/tree/latest/examples/blog) -[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/withastro/astro?devcontainer_path=.devcontainer/blog/devcontainer.json) - -> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun! - -![blog](https://user-images.githubusercontent.com/4677417/186189140-4ef17aac-c3c9-4918-a8c2-ce86ba1bb394.png) - -Features: - -- ✅ Minimal styling (make it your own!) -- ✅ 100/100 Lighthouse performance -- ✅ SEO-friendly with canonical URLs and OpenGraph data -- ✅ Sitemap support -- ✅ RSS Feed support -- ✅ Markdown & MDX support - -## 🚀 Project Structure - -Inside of your Astro project, you'll see the following folders and files: - -``` -├── public/ -├── src/ -│   ├── components/ -│   ├── content/ -│   ├── layouts/ -│   └── pages/ -├── astro.config.mjs -├── README.md -├── package.json -└── tsconfig.json -``` - -Astro looks for `.astro` or `.md` files in the `src/pages/` directory. Each page is exposed as a route based on its file name. - -There's nothing special about `src/components/`, but that's where we like to put any Astro/React/Vue/Svelte/Preact components. - -The `src/content/` directory contains "collections" of related Markdown and MDX documents. Use `getCollection()` to retrieve posts from `src/content/blog/`, and type-check your frontmatter using an optional schema. See [Astro's Content Collections docs](https://docs.astro.build/en/guides/content-collections/) to learn more. - -Any static assets, like images, can be placed in the `public/` directory. - -## 🧞 Commands - -All commands are run from the root of the project, from a terminal: - -| Command | Action | -| :------------------------ | :----------------------------------------------- | -| `npm install` | Installs dependencies | -| `npm run dev` | Starts local dev server at `localhost:3000` | -| `npm run build` | Build your production site to `./dist/` | -| `npm run preview` | Preview your build locally, before deploying | -| `npm run astro ...` | Run CLI commands like `astro add`, `astro check` | -| `npm run astro -- --help` | Get help using the Astro CLI | - -## 👀 Want to learn more? - -Check out [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat). - -## Credit - -This theme is based off of the lovely [Bear Blog](https://github.com/HermanMartinus/bearblog/). +This is the source code for my personal site/blog. It's built using [Astro](https://astro.build/) \ No newline at end of file diff --git a/astro.config.mjs b/astro.config.mjs index 3b2f75c..de7d57e 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -5,6 +5,6 @@ import sitemap from '@astrojs/sitemap'; // https://astro.build/config export default defineConfig({ - site: 'https://example.com', + site: 'https://pinapelz.com', integrations: [mdx(), sitemap()], }); diff --git a/markdown-style-guide.md b/markdown-style-guide.md new file mode 100644 index 0000000..bb7bb2d --- /dev/null +++ b/markdown-style-guide.md @@ -0,0 +1,107 @@ +--- +title: 'Markdown Style Guide' +description: 'Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro.' +pubDate: 'Jul 01 2022' +heroImage: '/placeholder-hero.jpg' +--- + +Here is a sample of some basic Markdown syntax that can be used when writing Markdown content in Astro. + +## Headings + +The following HTML `

`—`

` elements represent six levels of section headings. `

` is the highest section level while `

` is the lowest. + +# H1 + +## H2 + +### H3 + +#### H4 + +##### H5 + +###### H6 + +## Paragraph + +Xerum, quo qui aut unt expliquam qui dolut labo. Aque venitatiusda cum, voluptionse latur sitiae dolessi aut parist aut dollo enim qui voluptate ma dolestendit peritin re plis aut quas inctum laceat est volestemque commosa as cus endigna tectur, offic to cor sequas etum rerum idem sintibus eiur? Quianimin porecus evelectur, cum que nis nust voloribus ratem aut omnimi, sitatur? Quiatem. Nam, omnis sum am facea corem alique molestrunt et eos evelece arcillit ut aut eos eos nus, sin conecerem erum fuga. Ri oditatquam, ad quibus unda veliamenimin cusam et facea ipsamus es exerum sitate dolores editium rerore eost, temped molorro ratiae volorro te reribus dolorer sperchicium faceata tiustia prat. + +Itatur? Quiatae cullecum rem ent aut odis in re eossequodi nonsequ idebis ne sapicia is sinveli squiatum, core et que aut hariosam ex eat. + +## Images + +![This is a placeholder image description](/placeholder-social.jpg) + +## Blockquotes + +The blockquote element represents content that is quoted from another source, optionally with a citation which must be within a `footer` or `cite` element, and optionally with in-line changes such as annotations and abbreviations. + +#### Blockquote without attribution + +> Tiam, ad mint andaepu dandae nostion secatur sequo quae. +> **Note** that you can use _Markdown syntax_ within a blockquote. + +#### Blockquote with attribution + +> Don't communicate by sharing memory, share memory by communicating.
+> — Rob Pike[^1] + +[^1]: The above quote is excerpted from Rob Pike's [talk](https://www.youtube.com/watch?v=PAAkCSZUG1c) during Gopherfest, November 18, 2015. + +## Tables + +| Italics | Bold | Code | +| --------- | -------- | ------ | +| _italics_ | **bold** | `code` | + +## Code Blocks + +```html + + + + + Example HTML5 Document + + +

Test

+ + +``` + +## List Types + +#### Ordered List + +1. First item +2. Second item +3. Third item + +#### Unordered List + +- List item +- Another item +- And another item + +#### Nested list + +- Fruit + - Apple + - Orange + - Banana +- Dairy + - Milk + - Cheese + +## Other Elements — abbr, sub, sup, kbd, mark + +GIF is a bitmap image format. + +H2O + +Xn + Yn = Zn + +Press CTRL+ALT+Delete to end the session. + +Most salamanders are nocturnal, and hunt for insects, worms, and other small creatures. diff --git a/package-lock.json b/package-lock.json index c0b93d3..873115a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,9 @@ "@astrojs/rss": "^2.4.3", "@astrojs/sitemap": "^2.0.1", "astro": "^2.9.1" + }, + "devDependencies": { + "astro-themes": "^0.2.4" } }, "node_modules/@ampproject/remapping": { @@ -1354,6 +1357,15 @@ } } }, + "node_modules/astro-themes": { + "version": "0.2.4", + "resolved": "https://registry.npmjs.org/astro-themes/-/astro-themes-0.2.4.tgz", + "integrity": "sha512-8MUrH4QgOtAmR1RjsERsOFzPhVHTfHRiAi5dCufWsRZCzH11Z+EeHUTCjQl+jDqmRaE7ICP5hLXgC8pGIR/4kA==", + "dev": true, + "peerDependencies": { + "astro": "*" + } + }, "node_modules/astro/node_modules/estree-walker": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-3.0.0.tgz", diff --git a/package.json b/package.json index 4935d21..37139fc 100644 --- a/package.json +++ b/package.json @@ -14,5 +14,8 @@ "@astrojs/rss": "^2.4.3", "@astrojs/sitemap": "^2.0.1", "astro": "^2.9.1" + }, + "devDependencies": { + "astro-themes": "^0.2.4" } -} \ No newline at end of file +} diff --git a/public/603.png b/public/603.png new file mode 100644 index 0000000..053991c Binary files /dev/null and b/public/603.png differ diff --git a/public/603banner.png b/public/603banner.png new file mode 100644 index 0000000..f07e525 Binary files /dev/null and b/public/603banner.png differ diff --git a/public/favicon.svg b/public/favicon.svg index f157bd1..e266570 100644 --- a/public/favicon.svg +++ b/public/favicon.svg @@ -1,9 +1,10 @@ - - - - + + + + + + + + + + \ No newline at end of file diff --git a/public/placeholder-about.jpg b/public/placeholder-about.jpg deleted file mode 100644 index 2f736d9..0000000 Binary files a/public/placeholder-about.jpg and /dev/null differ diff --git a/public/projects/github-mark-white.svg b/public/projects/github-mark-white.svg new file mode 100644 index 0000000..d5e6491 --- /dev/null +++ b/public/projects/github-mark-white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/projects/holodex.png b/public/projects/holodex.png new file mode 100644 index 0000000..f77e269 Binary files /dev/null and b/public/projects/holodex.png differ diff --git a/public/projects/nijitrack.png b/public/projects/nijitrack.png new file mode 100644 index 0000000..535a76f Binary files /dev/null and b/public/projects/nijitrack.png differ diff --git a/public/projects/patchwork.png b/public/projects/patchwork.png new file mode 100644 index 0000000..1fa0e07 Binary files /dev/null and b/public/projects/patchwork.png differ diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 08395a4..2f7f5d5 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -3,7 +3,7 @@ const today = new Date(); ---
- © {today.getFullYear()} YOUR NAME HERE. All rights reserved. + hub · github · email
+Worker Repository
+ +## Hosting the Workers +I'm not really into the idea of leaving my PC on 24/7 and have it chew at my bandwidth all day, so I decided to host my workers through cloud computing. + +I thought about my options and decided to go with [DigitalOcean's Droplets](https://www.digitalocean.com/pricing/droplets) since I had some free credit lying around, and you can run them for as little as $4 a month. Their free outbound bandwidth is also generous with the lowest tier offering 500GB per month. + +I've opted for running the 1 GB Memory, 1 Intel vCPU droplet, however you can probably make-do with the cheapest option as well. + +Now this works great for YouTube videos since there's practically no CPU or RAM usage when it comes to running the worker script since its just downloading and uploading data. The trouble comes when trying to download and convert Bilibili videos. + +100% CPU usage graph + +Yep. 100% CPU usage. Turns out FFMPEG can be pretty CPU intensive, the process of getting those videos converted to WEBM runs at around `0.05x` for me, meaning that a 5-minute video will take around 500 minutes to convert. The solution would be to upgrade the specs of the worker, but that would mean paying more money. + +I ended up just making do with the speed. Bilibili isn't exactly a priority for me either, so I'm fine with it taking a while to download and convert videos. (The entire worker flow is queue based too which I'll touch on in part 3) + +## That's all for now +That's pretty much all I got to say about how I initially sourced content and how the workers archive it. In the next part I'll get more into the details regarding storage and serving the content. + + + diff --git a/src/content/blog/second-post.md b/src/content/blog/second-post.md deleted file mode 100644 index b5a0679..0000000 --- a/src/content/blog/second-post.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: 'Second post' -description: 'Lorem ipsum dolor sit amet' -pubDate: 'Jul 22 2022' -heroImage: '/placeholder-hero.jpg' ---- - -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet. - -Morbi tristique senectus et netus. Id semper risus in hendrerit gravida rutrum quisque non tellus. Habitasse platea dictumst quisque sagittis purus sit amet. Tellus molestie nunc non blandit massa. Cursus vitae congue mauris rhoncus. Accumsan tortor posuere ac ut. Fringilla urna porttitor rhoncus dolor. Elit ullamcorper dignissim cras tincidunt lobortis. In cursus turpis massa tincidunt dui ut ornare lectus. Integer feugiat scelerisque varius morbi enim nunc. Bibendum neque egestas congue quisque egestas diam. Cras ornare arcu dui vivamus arcu felis bibendum. Dignissim suspendisse in est ante in nibh mauris. Sed tempus urna et pharetra pharetra massa massa ultricies mi. - -Mollis nunc sed id semper risus in. Convallis a cras semper auctor neque. Diam sit amet nisl suscipit. Lacus viverra vitae congue eu consequat ac felis donec. Egestas integer eget aliquet nibh praesent tristique magna sit amet. Eget magna fermentum iaculis eu non diam. In vitae turpis massa sed elementum. Tristique et egestas quis ipsum suspendisse ultrices. Eget lorem dolor sed viverra ipsum. Vel turpis nunc eget lorem dolor sed viverra. Posuere ac ut consequat semper viverra nam. Laoreet suspendisse interdum consectetur libero id faucibus. Diam phasellus vestibulum lorem sed risus ultricies tristique. Rhoncus dolor purus non enim praesent elementum facilisis. Ultrices tincidunt arcu non sodales neque. Tempus egestas sed sed risus pretium quam vulputate. Viverra suspendisse potenti nullam ac tortor vitae purus faucibus ornare. Fringilla urna porttitor rhoncus dolor purus non. Amet dictum sit amet justo donec enim. - -Mattis ullamcorper velit sed ullamcorper morbi tincidunt. Tortor posuere ac ut consequat semper viverra. Tellus mauris a diam maecenas sed enim ut sem viverra. Venenatis urna cursus eget nunc scelerisque viverra mauris in. Arcu ac tortor dignissim convallis aenean et tortor at. Curabitur gravida arcu ac tortor dignissim convallis aenean et tortor. Egestas tellus rutrum tellus pellentesque eu. Fusce ut placerat orci nulla pellentesque dignissim enim sit amet. Ut enim blandit volutpat maecenas volutpat blandit aliquam etiam. Id donec ultrices tincidunt arcu. Id cursus metus aliquam eleifend mi. - -Tempus quam pellentesque nec nam aliquam sem. Risus at ultrices mi tempus imperdiet. Id porta nibh venenatis cras sed felis eget velit. Ipsum a arcu cursus vitae. Facilisis magna etiam tempor orci eu lobortis elementum. Tincidunt dui ut ornare lectus sit. Quisque non tellus orci ac. Blandit libero volutpat sed cras. Nec tincidunt praesent semper feugiat nibh sed pulvinar proin gravida. Egestas integer eget aliquet nibh praesent tristique magna. diff --git a/src/content/blog/third-post.md b/src/content/blog/third-post.md deleted file mode 100644 index a2bc343..0000000 --- a/src/content/blog/third-post.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -title: 'Third post' -description: 'Lorem ipsum dolor sit amet' -pubDate: 'Jul 15 2022' -heroImage: '/placeholder-hero.jpg' ---- - -Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet. - -Morbi tristique senectus et netus. Id semper risus in hendrerit gravida rutrum quisque non tellus. Habitasse platea dictumst quisque sagittis purus sit amet. Tellus molestie nunc non blandit massa. Cursus vitae congue mauris rhoncus. Accumsan tortor posuere ac ut. Fringilla urna porttitor rhoncus dolor. Elit ullamcorper dignissim cras tincidunt lobortis. In cursus turpis massa tincidunt dui ut ornare lectus. Integer feugiat scelerisque varius morbi enim nunc. Bibendum neque egestas congue quisque egestas diam. Cras ornare arcu dui vivamus arcu felis bibendum. Dignissim suspendisse in est ante in nibh mauris. Sed tempus urna et pharetra pharetra massa massa ultricies mi. - -Mollis nunc sed id semper risus in. Convallis a cras semper auctor neque. Diam sit amet nisl suscipit. Lacus viverra vitae congue eu consequat ac felis donec. Egestas integer eget aliquet nibh praesent tristique magna sit amet. Eget magna fermentum iaculis eu non diam. In vitae turpis massa sed elementum. Tristique et egestas quis ipsum suspendisse ultrices. Eget lorem dolor sed viverra ipsum. Vel turpis nunc eget lorem dolor sed viverra. Posuere ac ut consequat semper viverra nam. Laoreet suspendisse interdum consectetur libero id faucibus. Diam phasellus vestibulum lorem sed risus ultricies tristique. Rhoncus dolor purus non enim praesent elementum facilisis. Ultrices tincidunt arcu non sodales neque. Tempus egestas sed sed risus pretium quam vulputate. Viverra suspendisse potenti nullam ac tortor vitae purus faucibus ornare. Fringilla urna porttitor rhoncus dolor purus non. Amet dictum sit amet justo donec enim. - -Mattis ullamcorper velit sed ullamcorper morbi tincidunt. Tortor posuere ac ut consequat semper viverra. Tellus mauris a diam maecenas sed enim ut sem viverra. Venenatis urna cursus eget nunc scelerisque viverra mauris in. Arcu ac tortor dignissim convallis aenean et tortor at. Curabitur gravida arcu ac tortor dignissim convallis aenean et tortor. Egestas tellus rutrum tellus pellentesque eu. Fusce ut placerat orci nulla pellentesque dignissim enim sit amet. Ut enim blandit volutpat maecenas volutpat blandit aliquam etiam. Id donec ultrices tincidunt arcu. Id cursus metus aliquam eleifend mi. - -Tempus quam pellentesque nec nam aliquam sem. Risus at ultrices mi tempus imperdiet. Id porta nibh venenatis cras sed felis eget velit. Ipsum a arcu cursus vitae. Facilisis magna etiam tempor orci eu lobortis elementum. Tincidunt dui ut ornare lectus sit. Quisque non tellus orci ac. Blandit libero volutpat sed cras. Nec tincidunt praesent semper feugiat nibh sed pulvinar proin gravida. Egestas integer eget aliquet nibh praesent tristique magna. diff --git a/src/content/blog/using-mdx.mdx b/src/content/blog/using-mdx.mdx deleted file mode 100644 index 036209d..0000000 --- a/src/content/blog/using-mdx.mdx +++ /dev/null @@ -1,31 +0,0 @@ ---- -title: 'Using MDX' -description: 'Lorem ipsum dolor sit amet' -pubDate: 'Jul 02 2022' -heroImage: '/placeholder-hero.jpg' ---- - -This theme comes with the [@astrojs/mdx](https://docs.astro.build/en/guides/integrations-guide/mdx/) integration installed and configured in your `astro.config.mjs` config file. If you prefer not to use MDX, you can disable support by removing the integration from your config file. - -## Why MDX? - -MDX is a special flavor of Markdown that supports embedded JavaScript & JSX syntax. This unlocks the ability to [mix JavaScript and UI Components into your Markdown content](https://docs.astro.build/en/guides/markdown-content/#mdx-features) for things like interactive charts or alerts. - -If you have existing content authored in MDX, this integration will hopefully make migrating to Astro a breeze. - -## Example - -Here is how you import and use a UI component inside of MDX. -When you open this page in the browser, you should see the clickable button below. - -import HeaderLink from '../../components/HeaderLink.astro'; - - - Embedded component in MDX - - -## More Links - -- [MDX Syntax Documentation](https://mdxjs.com/docs/what-is-mdx) -- [Astro Usage Documentation](https://docs.astro.build/en/guides/markdown-content/#markdown-and-mdx-pages) -- **Note:** [Client Directives](https://docs.astro.build/en/reference/directives-reference/#client-directives) are still required to create interactive components. Otherwise, all components in your MDX will render as static HTML (no JavaScript) by default. diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro index a9526d0..d62d124 100644 --- a/src/layouts/BlogPost.astro +++ b/src/layouts/BlogPost.astro @@ -32,8 +32,9 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
- {heroImage && } + {heroImage && }

{title}

+

{description}

{ updatedDate && ( diff --git a/src/pages/about.astro b/src/pages/about.astro index 2bed978..68483fd 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -3,61 +3,30 @@ import Layout from '../layouts/BlogPost.astro'; ---

- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut - labore et dolore magna aliqua. Vitae ultricies leo integer malesuada nunc vel risus commodo - viverra. Adipiscing enim eu turpis egestas pretium. Euismod elementum nisi quis eleifend quam - adipiscing. In hac habitasse platea dictumst vestibulum. Sagittis purus sit amet volutpat. Netus - et malesuada fames ac turpis egestas. Eget magna fermentum iaculis eu non diam phasellus - vestibulum lorem. Varius sit amet mattis vulputate enim. Habitasse platea dictumst quisque - sagittis. Integer quis auctor elit sed vulputate mi. Dictumst quisque sagittis purus sit amet. + Hey! Welcome to the About page. I'm Pinapelz, a second-year Software Engineering student at the University of California, Irvine. + I'm a pretty avid virtual youtuber (vtuber) enjoyer so you may have seen me around or noticed a strange trend in the types of projects on my GitHub. + Outside of that though I spend pretty much the remainder of my spare time programming random little doodads and playing a bunch of JRPGs and MMOs (it's uhh mostly just FFXIV and PSO2 though...)

- -

- Morbi tristique senectus et netus. Id semper risus in hendrerit gravida rutrum quisque non - tellus. Habitasse platea dictumst quisque sagittis purus sit amet. Tellus molestie nunc non - blandit massa. Cursus vitae congue mauris rhoncus. Accumsan tortor posuere ac ut. Fringilla urna - porttitor rhoncus dolor. Elit ullamcorper dignissim cras tincidunt lobortis. In cursus turpis - massa tincidunt dui ut ornare lectus. Integer feugiat scelerisque varius morbi enim nunc. - Bibendum neque egestas congue quisque egestas diam. Cras ornare arcu dui vivamus arcu felis - bibendum. Dignissim suspendisse in est ante in nibh mauris. Sed tempus urna et pharetra pharetra - massa massa ultricies mi. -

- +

why this?

- Mollis nunc sed id semper risus in. Convallis a cras semper auctor neque. Diam sit amet nisl - suscipit. Lacus viverra vitae congue eu consequat ac felis donec. Egestas integer eget aliquet - nibh praesent tristique magna sit amet. Eget magna fermentum iaculis eu non diam. In vitae - turpis massa sed elementum. Tristique et egestas quis ipsum suspendisse ultrices. Eget lorem - dolor sed viverra ipsum. Vel turpis nunc eget lorem dolor sed viverra. Posuere ac ut consequat - semper viverra nam. Laoreet suspendisse interdum consectetur libero id faucibus. Diam phasellus - vestibulum lorem sed risus ultricies tristique. Rhoncus dolor purus non enim praesent elementum - facilisis. Ultrices tincidunt arcu non sodales neque. Tempus egestas sed sed risus pretium quam - vulputate. Viverra suspendisse potenti nullam ac tortor vitae purus faucibus ornare. Fringilla - urna porttitor rhoncus dolor purus non. Amet dictum sit amet justo donec enim. + I thought it would probably be a good idea to have a place that documents some of my thought processes and the things I've learned over time since + I have this fantastic habit of forgetting things, leaving braindead or no comments in my code, and generally just writing boilerplate code (plus I gotta work on my writing skills)

- +

what's this made with?

- Mattis ullamcorper velit sed ullamcorper morbi tincidunt. Tortor posuere ac ut consequat semper - viverra. Tellus mauris a diam maecenas sed enim ut sem viverra. Venenatis urna cursus eget nunc - scelerisque viverra mauris in. Arcu ac tortor dignissim convallis aenean et tortor at. Curabitur - gravida arcu ac tortor dignissim convallis aenean et tortor. Egestas tellus rutrum tellus - pellentesque eu. Fusce ut placerat orci nulla pellentesque dignissim enim sit amet. Ut enim - blandit volutpat maecenas volutpat blandit aliquam etiam. Id donec ultrices tincidunt arcu. Id - cursus metus aliquam eleifend mi. + I was deliberating quite a bit about how I wanted to make the site. My web development experience is still fairly limited so I wasn't even too sure on what my options were. + I ended up settling on Astro since it seems like it's pretty flexible with all the different frameworks you can integrate. I also like the idea of being able + to write in markdown since it'll certainly make things easier on my fingers. Plus the idea of being able to run JSX in markdown seems pretty cool.

- +

stuff

- Tempus quam pellentesque nec nam aliquam sem. Risus at ultrices mi tempus imperdiet. Id porta - nibh venenatis cras sed felis eget velit. Ipsum a arcu cursus vitae. Facilisis magna etiam - tempor orci eu lobortis elementum. Tincidunt dui ut ornare lectus sit. Quisque non tellus orci - ac. Blandit libero volutpat sed cras. Nec tincidunt praesent semper feugiat nibh sed pulvinar - proin gravida. Egestas integer eget aliquet nibh praesent tristique magna. + A lot of the things I've experimented with or made are on my GitHub, I've also got a LittleLink that I try and regularly update with some of the stuff I've deployed + as well as some ways of contacting me. You can also get to either at any time through the hub and github links at the footer of each page.

diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro index 0d656a1..12436c2 100644 --- a/src/pages/blog/[...slug].astro +++ b/src/pages/blog/[...slug].astro @@ -16,6 +16,5 @@ const { Content } = await post.render(); --- -

{post.data.title}

diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro index 47126e7..11201b1 100644 --- a/src/pages/blog/index.astro +++ b/src/pages/blog/index.astro @@ -26,7 +26,7 @@ const posts = (await getCollection('blog')).sort( ul li :global(time) { flex: 0 0 130px; font-style: italic; - color: #595959; + color: #646464; } ul li a:visited { color: #8e32dc; diff --git a/src/pages/index.astro b/src/pages/index.astro index 26f070d..a1d2259 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -3,6 +3,12 @@ import BaseHead from '../components/BaseHead.astro'; import Header from '../components/Header.astro'; import Footer from '../components/Footer.astro'; import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; +import { getCollection } from 'astro:content'; +import FormattedDate from '../components/FormattedDate.astro'; + +const posts = (await getCollection('blog')).sort( + (a, b) => a.data.pubDate.valueOf() - b.data.pubDate.valueOf() +); --- @@ -12,38 +18,144 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
+
-

🧑‍🚀 Hello, Astronaut!

-

- Welcome to the official Astro blog starter template. This - template serves as a lightweight, minimally-styled starting point for anyone looking to build - a personal website, blog, or portfolio with Astro. -

-

- This template comes with a few integrations already configured in your - astro.config.mjs file. You can customize your setup with - Astro Integrations to add tools like Tailwind, - React, or Vue to your project. -

-

Here are a few ideas on how to get started with the template:

-
    -
  • Edit this page in src/pages/index.astro
  • -
  • Edit the site header items in src/components/Header.astro
  • -
  • Add your name to the footer in src/components/Footer.astro
  • -
  • Check out the included blog posts in src/pages/blog/
  • -
  • Customize the blog post page layout in src/layouts/BlogPost.astro
  • -
-

- Have fun! If you get stuck, remember to read the docs - or join us on Discord to ask questions. -

+ +

Recent Posts

+
+ +
+

👋 Greetings, Adventurer!

- Looking for a blog template with a bit more personality? Check out astro-blog-template - by Maxi Ferreira. + Welcome to my site/blog! This place will serve as a corner where I can document the progress and process with some of things I've experimented with or made. + I guess its like programming documentation, but uhh more of a mess?

+

I did a thing..

+

Here are some of the things I've done/experimented with and found pretty cool! (you can also find more stuff here and on GitHub)

+ +
+
+ + Nijitrack Logo + +

NijiTrack

+

+ Record and track historical subscriber data for a set of YouTube channels. + Currently mine is set up to record data for Nijisanji Virtual YouTubers (Nijitracker link on repo). +

+
+
+ + Patchwork Logo + +

Video Archive Web (Patchwork Archive)

+

+ A Python Flask web app that can host archived YouTube videos, currently used as the + front end for Patchwork Archive (link on repo). +

+
+
+ + JHolodex Wrapper + +

JHolodex

+

+ A Java object oriented wrapper for the Holodex API +

+
+
+ + Sapphire + +

Project Sapphire

+

+ My fork of Sapphire, a C++ Final Fantasy XIV Server Emulator. Most of the work I've done + is pretaining to scripting content +

+
+
+ + YALP Bot + +

Yet Another Lavaplayer Bot

+

+ A Discord music bot written in Java using JDA and Lavaplayer +

+
+
+ + ytmp3 Autotag + +

YTMP3 Auto Tag

+

+ A Java Swing application that uses yt-dlp to download and then automatically tag + mp3 files with metadata from the video. Supports downloading parts of a video as well +

+
+
+