An open API service indexing awesome lists of open source software.

https://github.com/lunofe/mcss-frontend

Python generated, component-based frontend for LeStegii/server-softwares, styled with the semantic Pico CSS framework
https://github.com/lunofe/mcss-frontend

Last synced: about 2 months ago
JSON representation

Python generated, component-based frontend for LeStegii/server-softwares, styled with the semantic Pico CSS framework

Awesome Lists containing this project

README

        

# Minecraft Server Software Frontend
This script is designed to be used in a GitHub workflow or action to generate a static website from [`LeStegii/server-software`](https://github.com/LeStegii/server-software)' Markdown files. The generated website uses the Pico CSS library to provide a clean and modern look.

## Functionality
1. The webpages and their assignment to specific Markdown files are defined.
2. Directories are prepared and all necessary website assets are copied.
3. Various components, including the header & footer are loaded.
4. The landing page is built and GitHub anchors are replaced with internal anchors.
5. Catalog pages are constructed by loading content and performing basic replacements.
6. The content is divided into active and inactive sections, and IDs are added to anchor tags for direct linking.
7. Finally, the generated HTML files are written to the build directory.

## Dependencies
- Python 3.10+
- BeautifulSoup4
- Markdown

## Set up development environment
1. Clone [`LeStegii/server-software`](https://github.com/LeStegii/server-software)
2. Clone this repository into `sever-software/mcss-frontend` directory
3. `pip install markdown beautifulsoup4`
4. Run `python mcss-frontend/build.py` (your working directory needs to be `server-software`) to generate the website