{"id":22487707,"url":"https://github.com/sirber/tiny-cms","last_synced_at":"2026-03-06T00:20:51.069Z","repository":{"id":251493192,"uuid":"832321829","full_name":"sirber/tiny-cms","owner":"sirber","description":"Tiny CMS for personnal web sites.","archived":false,"fork":false,"pushed_at":"2025-08-26T02:02:29.000Z","size":151,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-26T02:43:34.061Z","etag":null,"topics":["cms","docker","php","twig"],"latest_commit_sha":null,"homepage":"https://detritus.ca","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sirber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-07-22T19:31:16.000Z","updated_at":"2025-08-26T02:02:33.000Z","dependencies_parsed_at":"2024-08-20T05:26:07.763Z","dependency_job_id":"47105460-e58b-48f4-a001-84882b1edebe","html_url":"https://github.com/sirber/tiny-cms","commit_stats":null,"previous_names":["sirber/tiny-cms"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/sirber/tiny-cms","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirber%2Ftiny-cms","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirber%2Ftiny-cms/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirber%2Ftiny-cms/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirber%2Ftiny-cms/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sirber","download_url":"https://codeload.github.com/sirber/tiny-cms/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sirber%2Ftiny-cms/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30156269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T22:39:40.138Z","status":"ssl_error","status_checked_at":"2026-03-05T22:39:24.771Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["cms","docker","php","twig"],"created_at":"2024-12-06T17:17:08.556Z","updated_at":"2026-03-06T00:20:51.062Z","avatar_url":"https://github.com/sirber.png","language":"PHP","funding_links":[],"categories":["PHP"],"sub_categories":[],"readme":"# Tiny CMS\n\nTiny Content Management System. It's almost a static web site! There is no database. Navigation is generated on available content.\n\n## Content\n\nContent is in [Twig format](https://twig.symfony.com/), using [Bootstrap 5](https://getbootstrap.com/docs/5.0/getting-started/introduction/). It is located in the `data/user_content/views` folder. The file `index.twig` will be the default page, and will not be shown in nav. Other files will be shown in the nav. You can create folders to create sub menus. To use a space in a name, you can use an underscore (_).\n\nExemple:\n- index.twig\n- about_me.twig\n- test/hello.twig\n\n### Static files\n\nIt is possible to host and refer to static files. They are located in `data/user_content/static`. The url is `/static/`. Those file are served directly by the HTTP server.\n\n## Development\n\n### Develop the CMS\n\n1. Install docker\n2. Build the docker image and start it\n\n```bash\nmake build\nmake up\n```\n\n### Develop your website\n\n1. Install docker\n2. Create a new folder and use this doceker-compose\n\n```yaml\nservices:\n  php:\n    image: ghcr.io/sirber/tiny-cms:latest\n    environment:\n      - APP_ENV=dev\n    volumes:\n      - ./site:/app/data/user_content/:rw\n    ports:\n      - 80:80\n```\n3. Run: `docker compose up -d`\n4. start your site in `./site/views/index.twig`\n\n## Production\n\nProduction image will cache templates for increased performance. You can use this `docker-compose.yml`:\n\n```yaml\nservices:\n  cms:\n    image: ghcr.io/sirber/tiny-cms:latest\n    environment:\n      - APP_ENV=prod\n    volumes:\n      - ./site:/app/data/user_content/:r\n    ports:\n      - 80:80\n```\n\nAdd your site to `./site`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirber%2Ftiny-cms","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsirber%2Ftiny-cms","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirber%2Ftiny-cms/lists"}