A website for jeblore, a webcomic about living with Jeb and other creatures.
Explore the docs »
View Demo
·
Report Bug
·
Request Feature
Table of Contents
Desktop Light | Mobile Dark |
---|---|
- Performant static site for hosting webcomics
- Git-based CMS to easily change data
- Simple and accessible design
- Cool theme picker
I made this website using a static site generator, Astro, because it is perfect for content-focused websites like this for increases performance and pleasant DX. The only JS used is for the theme picker.
I designed the webite to be simple, emulating the simple mind of Jeb, our eponymous main character.
And the simplicity of use and focus on accessibility also leads to better UX.
Kepping in this theme, I wanted the website to be easily updated, so I opted for a git-based CMS, which would just store the images in the repo. All the images are optimized during the build process.
The Good | The Bad | The Ugly |
---|---|---|
Performance from SSG | Too much time spent on what is the best CMS | |
Back to Vanilla CSS | Did not have a good time with Decap CMS | |
Accessibility | URL issues in prod | |
Theme Picker |
To get a local copy up and running follow the steps.
This is an example of how to list things you need to use the software and how to install them.
- pnpm
npm install -g pnpm
- Clone the repo
git clone https://github.com/juliankrzysiak/jeblore.git
- Go to project directory
cd jeblore
- Install dependencies
pnpm install
- Start the server
pnpm start
You can add new comics or other data by accessing the CMS in dev mode. Start up dev mode then append /keystatic to the home url, eg. http://127.0.0.1:4321/
.
The default storage mode is local, but this can be changed to github to allow for others with write permission to the repo to change data.
export default config({
storage: {
kind: 'github',
}
})
For an easier option for non-tecnical clients, one can change the storage mode to cloud.
You can easily change the structure of the data by going to keystatic.config.ts
and modifying what you would like.
I am hosting this on Cloudflare Pages, so you can get rid of the adapter in astro.config.mjs
if you hosted elsewhere.
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT license EXCEPT for any images / assets. See LICENSE.txt
for more information.
Julian Krzysiak - jkrzysiak13@gmail.com
Project Link: https://github.com/juliankrzysiak/jeblore