{"id":27103306,"url":"https://github.com/sasuw/camilla","last_synced_at":"2025-07-12T16:35:25.229Z","repository":{"id":185115112,"uuid":"295397360","full_name":"sasuw/camilla","owner":"sasuw","description":"Cross-platform CLI tool for effortless sitemap generation","archived":false,"fork":false,"pushed_at":"2025-04-03T05:29:17.000Z","size":24,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T06:29:13.732Z","etag":null,"topics":["cross-platform","linux","macos","sitemap-generator","sitemap-xml","standalone-applications","windows"],"latest_commit_sha":null,"homepage":"","language":"Dart","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/sasuw.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2020-09-14T11:40:22.000Z","updated_at":"2025-04-03T05:39:26.000Z","dependencies_parsed_at":"2023-07-31T19:36:03.289Z","dependency_job_id":null,"html_url":"https://github.com/sasuw/camilla","commit_stats":null,"previous_names":["sasuw/camilla"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasuw%2Fcamilla","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasuw%2Fcamilla/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasuw%2Fcamilla/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sasuw%2Fcamilla/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sasuw","download_url":"https://codeload.github.com/sasuw/camilla/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247517943,"owners_count":20951718,"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":["cross-platform","linux","macos","sitemap-generator","sitemap-xml","standalone-applications","windows"],"created_at":"2025-04-06T16:52:51.050Z","updated_at":"2025-04-06T16:52:51.528Z","avatar_url":"https://github.com/sasuw.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- ABOUT THE PROJECT --\u003e\n# About camilla\n\ncamilla is a standalone program for creating a [sitemap.xml](https://www.sitemaps.org/) file for static, internationalized websites. It runs as a single executable program on your Linux, Mac or Windows.\n\n## Why?\n\nThere are many sitemap generators, but most of them are online or require specific dependencies (node, npm, Python). To fulfil my usage requirements I decided to create my own.\n\n# Getting started as user\n\n## Downloads\n\nYou can download the latest release from here: [https://github.com/sasuw/camilla/releases](https://github.com/sasuw/camilla/releases)\n\n## Installing\n\nUnpack the tar.gz or zip file and execute camilla from your terminal or command line window. For a more permanent installation, copy camilla e.g. to /usr/local/bin (Linux/MacOS) or to C:\\Windows\\system32 (Windows).\n\n## Usage and functionality\n\nRun camilla from the root directory of your static website. Camilla traverses through all directories, looking for files with type .html  and creates a sitemap.xml file in the root directory of your website. You have to specify at least the \n\n    --baseUrl\n\noption (or -b for short), e.g.\n\n    camilla -b 'https://example.com'\n\nbecause all sitemap URLs have to be absolute. If you have an internationalized website, where every directory under the base url is a language directory, containing an identical file structure, you can run camilla with the\n\n    -- baseDirContainsLanguageDirs\n\noption (or -l for short). This creates alternate language references in the sitemap file (see [Tell Google about localized versions of your page](https://support.google.com/webmasters/answer/189077?hl=en)).\n\n### Example of sitemap.xml produced by camilla\n\n    \u003c?xml version=\"1.0\"?\u003e\n        \u003curlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"\u003e\n            \u003curl\u003e\n                \u003cloc\u003ehttps://example.com/de/index.html\u003c/loc\u003e\n                \u003clastmod\u003e2020-09-13\u003c/lastmod\u003e\n            \u003c/url\u003e\n            \u003curl\u003e\n                \u003cloc\u003ehttps://example.com/index.html\u003c/loc\u003e\n                \u003clastmod\u003e2020-09-13\u003c/lastmod\u003e\n            \u003c/url\u003e\n            \u003curl\u003e\n                \u003cloc\u003ehttps://example.com/en/index.html\u003c/loc\u003e\n                \u003clastmod\u003e2020-09-13\u003c/lastmod\u003e\n            \u003c/url\u003e\n            \u003curl\u003e\n                \u003cloc\u003ehttps://example.com/fi/index.html\u003c/loc\u003e\n                \u003clastmod\u003e2020-09-13\u003c/lastmod\u003e\n            \u003c/url\u003e\n        \u003c/urlset\u003e\n\n### Example of sitemap.xml produced by camilla when running with --baseDirContainsLanguageDirs option\n\n    \u003c?xml version=\"1.0\"?\u003e\n    \u003curlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\" xmlns:xhtml=\"http://www.w3.org/1999/xhtml\"\u003e\n      \u003curl\u003e\n        \u003cloc\u003ehttps://example.com/de/index.html\u003c/loc\u003e\n        \u003clastmod\u003e2020-09-13\u003c/lastmod\u003e\n        \u003cxhtml:link  rel=\"alternate\" hreflang=\"de\" href=\"https://example.com/de/index.html\"/\u003e\n        \u003cxhtml:link  rel=\"alternate\" hreflang=\"en\" href=\"https://example.com/en/index.html\"/\u003e\n        \u003cxhtml:link  rel=\"alternate\" hreflang=\"fi\" href=\"https://example.com/fi/index.html\"/\u003e\n      \u003c/url\u003e\n      \u003curl\u003e\n        \u003cloc\u003ehttps://example.com/index.html\u003c/loc\u003e\n        \u003clastmod\u003e2020-09-13\u003c/lastmod\u003e\n      \u003c/url\u003e\n      \u003curl\u003e\n        \u003cloc\u003ehttps://example.com/en/index.html\u003c/loc\u003e\n        \u003clastmod\u003e2020-09-13\u003c/lastmod\u003e\n        \u003cxhtml:link  rel=\"alternate\" hreflang=\"de\" href=\"https://example.com/de/index.html\"/\u003e\n        \u003cxhtml:link  rel=\"alternate\" hreflang=\"en\" href=\"https://example.com/en/index.html\"/\u003e\n        \u003cxhtml:link  rel=\"alternate\" hreflang=\"fi\" href=\"https://example.com/fi/index.html\"/\u003e\n      \u003c/url\u003e\n      \u003curl\u003e\n        \u003cloc\u003ehttps://example.com/fi/index.html\u003c/loc\u003e\n        \u003clastmod\u003e2020-09-13\u003c/lastmod\u003e\n        \u003cxhtml:link  rel=\"alternate\" hreflang=\"de\" href=\"https://example.com/de/index.html\"/\u003e\n        \u003cxhtml:link  rel=\"alternate\" hreflang=\"en\" href=\"https://example.com/en/index.html\"/\u003e\n        \u003cxhtml:link  rel=\"alternate\" hreflang=\"fi\" href=\"https://example.com/fi/index.html\"/\u003e\n      \u003c/url\u003e\n    \u003c/urlset\u003e\n\n### Trying it out\n\nTo try `camilla` out you can create a test site structure by executing the Bash script `bin/scripts/create_test_site.sh` and executing `camilla` in that directory.\n\n# Getting started as developer\n\n## Prerequisites\n\nDart is installed. See [https://dart.dev/get-dart](https://dart.dev/get-dart)\n\n## Project structure\n\nStandard dart project structure created with [pub](https://dart.dev/tools/pub/cmd), see [https://dart.dev/tools/pub/package-layout](https://dart.dev/tools/pub/package-layout)\n\nThe main executable, camilla.dart is located in the bin directory. The internal libraries used by camilla are in the lib directory.\n\nThe tests are in the test directory and the test data is in the test/data directory.\n\n## Create executable\n\n    dart pub get\n    dart compile exe bin/camilla.dart -o bin/camilla\n\n## Running the code\n\nWhen you are in the project root directory, you can execute\n\n    dart bin/camilla.dart\n\nto run the program. For debugging, you can use e.g. [Visual Studio Code](https://code.visualstudio.com/).\n\n# Miscellaneous\n\n\u003c!-- CONTRIBUTING --\u003e\n## Contributing\n\nYou can contribute to this project in many ways:\n\n  * submitting an issue (bug or enhancement proposal) \n  * testing\n  * contributing code\n\nIf you want to contribute code, please open an issue or contact me beforehand to ensure that your work in line with the project goals.\n\nWhen you decide to commit some code:\n\n1. Fork the Project\n2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)\n3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)\n4. Push to the Branch (`git push origin feature/AmazingFeature`)\n5. Open a Pull Request\n\n## Built With\n\n* [dart-xml](https://github.com/renggli/dart-xml)\n\n\u003c!-- LICENSE --\u003e\n## License\n\nDistributed under the MIT License. See `LICENSE` for more information.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsasuw%2Fcamilla","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsasuw%2Fcamilla","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsasuw%2Fcamilla/lists"}