Giter VIP home page Giter VIP logo

Comments (6)

flipvh avatar flipvh commented on September 2, 2024 2

Hi Yossy, thanks for opening an issue and amazing you want to help us out with your work using honox 👋 ! I would like to start very simple, as you suggested. Inspiration from a simple yet clean open source repo blog section is: https://www.loglib.io/blog . Their repo for this: https://github.com/loglib/loglib/tree/main/apps/www/src/content/blogs

They work with NextJS, Contentlayer and MDX, but as you say, here we will try to use Honox and vite.

So the first step is to build just a page to see all blogs summarized (/blog) and a page to see a post (/blog/${slug}).

Some thoughts:

I will share some visuals for the blog design later.

from cella.

flipvh avatar flipvh commented on September 2, 2024 1

Lets continue the conversation in the PR ok? I will close this issue

from cella.

yossydev avatar yossydev commented on September 2, 2024

@flipvh
Hi flipvh, I have created an issue and would like you to check it when you have time!

from cella.

yossydev avatar yossydev commented on September 2, 2024

@flipvh
Thanks for the reply!

Loglib is using Contentlayer. do we need it or not?

No, we use remark-frontmatter and remark-mdx-frontmatter for blogging with HonoX. These will parse the mdx into html at build time and display it on the screen when you access that path in a browser.

So the first step is to create a page to see all the blogs together (/blog) and a page to see the articles (/blog/${slug}).

With this requirement, it could be made to look almost like your own blog! (https://github.com/yossydev/blog)
My blog uses tailwindcss instead of shadcs/ui to create the UI, but probably no problem there either!

I'll try to get a PR with the environment setup out to this repository as soon as possible later! I'm going to create a honox project under a directory called /blog!

from cella.

yossydev avatar yossydev commented on September 2, 2024

By the way, where will the hosting be done?
I recommend cloudfkare pages, but honox works anywhere, so basically any hosting service will work!

from cella.

yossydev avatar yossydev commented on September 2, 2024

Lets continue the conversation in the PR ok? I will close this issue

OK!

from cella.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.