{"id":25188564,"url":"https://github.com/simplylu/nicegui-blog","last_synced_at":"2025-04-04T10:14:22.472Z","repository":{"id":213843831,"uuid":"735068410","full_name":"simplylu/nicegui-blog","owner":"simplylu","description":"A simple sample blog application using NiceGUI","archived":false,"fork":false,"pushed_at":"2023-12-23T14:55:42.000Z","size":1708,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T20:36:38.656Z","etag":null,"topics":["nicegui","python","python3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simplylu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"authors/john.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-23T14:52:07.000Z","updated_at":"2024-09-30T07:26:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"ee4e4b85-b5e9-4351-91ee-576f06e6c2df","html_url":"https://github.com/simplylu/nicegui-blog","commit_stats":null,"previous_names":["simplylu/nicegui-blog"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplylu%2Fnicegui-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplylu%2Fnicegui-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplylu%2Fnicegui-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simplylu%2Fnicegui-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simplylu","download_url":"https://codeload.github.com/simplylu/nicegui-blog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247157282,"owners_count":20893221,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["nicegui","python","python3"],"created_at":"2025-02-09T20:29:11.002Z","updated_at":"2025-04-04T10:14:22.451Z","avatar_url":"https://github.com/simplylu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# NiceBlog - A simple sample blog application using NiceGUI\n![screenshot of the blog](sample.png)\nThis is just a simple explanation on how to work with this piece of NiceGUI code. Using markdown and NiceGUI it is easy to create a simple blog in less time. The focus was on simplicity, not design. So just change the color theme in the `.env` file or the tailwind classes in the code itself. You may not touch the logic on how to parse Posts into the system, as it is easy to break things here. Everything else should be self explanatory and is no magic, since every information that was needed to create this was taken from official NiceGUI samples or the NiceGUI documentation.\n\n## Create a blog post\n\nNew posts need to be stored in `./posts` and follow the below structure:\n\n\u003e timestamp = The timestamp\n\u003e\n\u003e author = your name\n\u003e\n\u003e category = comma,separated,categories\n\u003e\n\u003e title = A promising title\n\u003e\n\u003e summary = SEO summary that will be put into a meta description tag\n\u003e\n\u003e thumbnail = name of the thumbnail image that needs to be stored in ./assets\n\u003e\n\u003e published = True if this should be shown, False if not\n\u003e\n\u003e \n\u003e \\-\\-\\-\n\u003e\n\u003e \n\u003e Your markdown content goes here.\n\nYour markdown content goes below the three dashes. This is the part that will be rendered. The above metadata is just for the system to recognize the article, etc.\n\nThe app needs then to be reloaded to recognize changes or new posts.\n\nNew posts will appear on the index page, in the profile of the author of that post, or in the respective category. The link consists of the title which was quoted to make it URL safe.\n\n## Authors\nTo have the authors properly shown in the blog, you need to create a `name.md` file in the `./authors` directory, as well as a `name.png` file in the `./assets` directory. The name needs to be the same as in the author variable in the post metadata to make it all work.\n\n\n## General\nJust check the existing config / directories and you'll see how it works. The code is no magic itself, it's just a basic sample on how to utilize NiceGUI and markdown to create a simple blog.\n\nTo run this sample, just call `python3 app.py` from your Terminal.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplylu%2Fnicegui-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplylu%2Fnicegui-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplylu%2Fnicegui-blog/lists"}