├── .eslintrc.json ├── .gitignore ├── .husky └── pre-commit ├── LICENSE ├── README.md ├── components ├── author │ └── index.tsx ├── custom-link │ └── index.tsx ├── image │ └── index.tsx ├── mdx │ ├── Link.tsx │ ├── Paragraph.tsx │ ├── Pre.tsx │ └── index.tsx ├── page-layout │ └── index.tsx └── posts │ ├── PostLayout.tsx │ ├── PostTags.tsx │ ├── SocialShare.tsx │ └── TableOfContents.tsx ├── data ├── ctf │ └── hackthebox │ │ ├── dancing.mdx │ │ ├── explosion.mdx │ │ ├── fawn.mdx │ │ └── meow.mdx └── linux │ └── filesystem.mdx ├── hooks └── useColors.ts ├── lib ├── mdx │ ├── authors │ │ └── index.ts │ ├── index.ts │ ├── rehype │ │ ├── image-metadata.ts │ │ └── rehype-code-titles │ │ │ ├── CHANGELOG.md │ │ │ ├── LICENSE │ │ │ ├── README.md │ │ │ ├── index.d.ts │ │ │ ├── index.js │ │ │ ├── node_modules │ │ │ ├── unist-util-visit-parents │ │ │ │ ├── color.browser.d.ts │ │ │ │ ├── color.browser.js │ │ │ │ ├── color.d.ts │ │ │ │ ├── color.js │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ └── unist-util-visit │ │ │ │ ├── index.d.ts │ │ │ │ ├── index.js │ │ │ │ ├── license │ │ │ │ ├── package.json │ │ │ │ └── readme.md │ │ │ └── package.json │ └── remark │ │ └── index.ts └── utils │ ├── date-parse.ts │ ├── fetcher.ts │ ├── get-absolute-url.ts │ └── io.ts ├── next-env.d.ts ├── next.config.js ├── package.json ├── pages ├── [...slug].tsx ├── _app.tsx ├── api │ ├── paths.ts │ ├── posts.ts │ └── test.ts └── index.tsx ├── public ├── blog │ └── ctf │ │ └── hackthebox │ │ ├── dancing.json │ │ ├── fawn.json │ │ └── meow.json ├── favicon.ico └── vercel.svg ├── scripts └── update-frontmatter.mjs ├── styles ├── _global.scss ├── _variables.scss ├── colors.module.scss ├── fonts.module.scss ├── global.scss ├── prism.scss └── theme │ ├── Prism.tsx │ ├── index.ts │ └── styles.ts ├── tsconfig.json ├── types ├── common.d.ts └── global.d.ts └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # service to provide blog posts 2 | -------------------------------------------------------------------------------- /components/author/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/author/index.tsx -------------------------------------------------------------------------------- /components/custom-link/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/custom-link/index.tsx -------------------------------------------------------------------------------- /components/image/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/image/index.tsx -------------------------------------------------------------------------------- /components/mdx/Link.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/mdx/Link.tsx -------------------------------------------------------------------------------- /components/mdx/Paragraph.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/mdx/Paragraph.tsx -------------------------------------------------------------------------------- /components/mdx/Pre.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/mdx/Pre.tsx -------------------------------------------------------------------------------- /components/mdx/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/mdx/index.tsx -------------------------------------------------------------------------------- /components/page-layout/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/page-layout/index.tsx -------------------------------------------------------------------------------- /components/posts/PostLayout.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/posts/PostLayout.tsx -------------------------------------------------------------------------------- /components/posts/PostTags.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/posts/PostTags.tsx -------------------------------------------------------------------------------- /components/posts/SocialShare.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/posts/SocialShare.tsx -------------------------------------------------------------------------------- /components/posts/TableOfContents.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/components/posts/TableOfContents.tsx -------------------------------------------------------------------------------- /data/ctf/hackthebox/dancing.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/data/ctf/hackthebox/dancing.mdx -------------------------------------------------------------------------------- /data/ctf/hackthebox/explosion.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/data/ctf/hackthebox/explosion.mdx -------------------------------------------------------------------------------- /data/ctf/hackthebox/fawn.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/data/ctf/hackthebox/fawn.mdx -------------------------------------------------------------------------------- /data/ctf/hackthebox/meow.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/data/ctf/hackthebox/meow.mdx -------------------------------------------------------------------------------- /data/linux/filesystem.mdx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/data/linux/filesystem.mdx -------------------------------------------------------------------------------- /hooks/useColors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/hooks/useColors.ts -------------------------------------------------------------------------------- /lib/mdx/authors/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/authors/index.ts -------------------------------------------------------------------------------- /lib/mdx/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/index.ts -------------------------------------------------------------------------------- /lib/mdx/rehype/image-metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/image-metadata.ts -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/CHANGELOG.md -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/LICENSE -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/README.md -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/index.d.ts -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/index.js -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/color.browser.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/color.browser.d.ts -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/color.browser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/color.browser.js -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/color.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/color.d.ts -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/color.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/color.js -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/index.d.ts -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/index.js -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/license -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/package.json -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit-parents/readme.md -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/index.d.ts -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/index.js -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/license: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/license -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/package.json -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/readme.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/node_modules/unist-util-visit/readme.md -------------------------------------------------------------------------------- /lib/mdx/rehype/rehype-code-titles/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/rehype/rehype-code-titles/package.json -------------------------------------------------------------------------------- /lib/mdx/remark/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/mdx/remark/index.ts -------------------------------------------------------------------------------- /lib/utils/date-parse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/utils/date-parse.ts -------------------------------------------------------------------------------- /lib/utils/fetcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/utils/fetcher.ts -------------------------------------------------------------------------------- /lib/utils/get-absolute-url.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/utils/get-absolute-url.ts -------------------------------------------------------------------------------- /lib/utils/io.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/lib/utils/io.ts -------------------------------------------------------------------------------- /next-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/next-env.d.ts -------------------------------------------------------------------------------- /next.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/next.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/package.json -------------------------------------------------------------------------------- /pages/[...slug].tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/pages/[...slug].tsx -------------------------------------------------------------------------------- /pages/_app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/pages/_app.tsx -------------------------------------------------------------------------------- /pages/api/paths.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/pages/api/paths.ts -------------------------------------------------------------------------------- /pages/api/posts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/pages/api/posts.ts -------------------------------------------------------------------------------- /pages/api/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/pages/api/test.ts -------------------------------------------------------------------------------- /pages/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/pages/index.tsx -------------------------------------------------------------------------------- /public/blog/ctf/hackthebox/dancing.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/public/blog/ctf/hackthebox/dancing.json -------------------------------------------------------------------------------- /public/blog/ctf/hackthebox/fawn.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/public/blog/ctf/hackthebox/fawn.json -------------------------------------------------------------------------------- /public/blog/ctf/hackthebox/meow.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/public/blog/ctf/hackthebox/meow.json -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /public/vercel.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/public/vercel.svg -------------------------------------------------------------------------------- /scripts/update-frontmatter.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/scripts/update-frontmatter.mjs -------------------------------------------------------------------------------- /styles/_global.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/styles/_global.scss -------------------------------------------------------------------------------- /styles/_variables.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/styles/_variables.scss -------------------------------------------------------------------------------- /styles/colors.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/styles/colors.module.scss -------------------------------------------------------------------------------- /styles/fonts.module.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/styles/fonts.module.scss -------------------------------------------------------------------------------- /styles/global.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/styles/global.scss -------------------------------------------------------------------------------- /styles/prism.scss: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/styles/prism.scss -------------------------------------------------------------------------------- /styles/theme/Prism.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/styles/theme/Prism.tsx -------------------------------------------------------------------------------- /styles/theme/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/styles/theme/index.ts -------------------------------------------------------------------------------- /styles/theme/styles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/styles/theme/styles.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/tsconfig.json -------------------------------------------------------------------------------- /types/common.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/types/common.d.ts -------------------------------------------------------------------------------- /types/global.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/types/global.d.ts -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/drakeaxelrod/blog-post-service/HEAD/yarn.lock --------------------------------------------------------------------------------