{"id":19248955,"url":"https://github.com/skar-software/svelte-blog-git-book","last_synced_at":"2026-06-10T20:31:27.494Z","repository":{"id":253683477,"uuid":"843500305","full_name":"skar-software/svelte-blog-git-book","owner":"skar-software","description":"Svelte Static site generation using Markdown to manage web pages, build blogs and create git book like documentation","archived":false,"fork":false,"pushed_at":"2025-01-22T07:13:55.000Z","size":1818,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T16:16:39.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Svelte","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/skar-software.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}},"created_at":"2024-08-16T16:48:23.000Z","updated_at":"2024-10-14T16:32:46.000Z","dependencies_parsed_at":"2024-10-18T12:05:42.792Z","dependency_job_id":null,"html_url":"https://github.com/skar-software/svelte-blog-git-book","commit_stats":null,"previous_names":["skar-software/svelte-blogger","skar-software/svelte-blog-git-book"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/skar-software/svelte-blog-git-book","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skar-software%2Fsvelte-blog-git-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skar-software%2Fsvelte-blog-git-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skar-software%2Fsvelte-blog-git-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skar-software%2Fsvelte-blog-git-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skar-software","download_url":"https://codeload.github.com/skar-software/svelte-blog-git-book/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skar-software%2Fsvelte-blog-git-book/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34170162,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-11-09T18:11:37.249Z","updated_at":"2026-06-10T20:31:27.477Z","avatar_url":"https://github.com/skar-software.png","language":"Svelte","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Svelte Blog and Gitbook\n\nUse the project to deploy a blog or git book like documentation component in your website. The content is in Markdown and is rendered to HTML pages using Static Site Generation.\n\n## Running the Server in Local using Docker Images\n\nPull docker image from Docker Hub\n```\ndocker pull anonranger/svelte-blogger\n```\n\nStart the docker server at [localhost:3000](http://localhost:3000)\n```\ndocker run --name blogger -d -p 3000:4173 anonranger/svelte-blogger\n```\n\n## Documentation of Folder structure - Guidance on where to add content\n\n**\u003cins\u003eUser Managed Content\u003c/ins\u003e**\n\nFor blog or documentation component, user to add content and images in the folders below.\n\n**static/content_images/content** - user to add markdown content\n\n**static/content_images/images** - user to add images\n\n**src/stores** - user to manage the mapping of content\n\n**\u003cins\u003eSystem Files\u003c/ins\u003e**\n\nsrc/api - static site rendering\n\nsrc/components - Svelte components that render unique UI\n\nsrc/routes - Mapping of route and components\n\nsrc/shared - common libraries\n\n\n\n## Blog Screenshots \n\n1. Blog articles listing with category filtering\n\u003cimg width=\"500\" alt=\"Screenshot 2024-08-21 at 11 47 02 PM\" src=\"https://github.com/user-attachments/assets/64f92f01-ecb7-4637-bb37-67f5a3c33b71\"\u003e\n\n2. Blog article page\n\u003cimg width=\"500\" alt=\"Screenshot 2024-08-21 at 11 55 26 PM\" src=\"https://github.com/user-attachments/assets/e25b6f36-889c-4bc9-92f0-c0835c497c31\"\u003e\n\n\n## Gitbook like Documentation Screenshots \n\n1. Side Navbar\n\u003cimg width=\"389\" alt=\"Screenshot 2024-10-14 at 9 30 36 PM\" src=\"https://github.com/user-attachments/assets/4a81de0b-f22b-43b3-9ca4-48775b8f62f4\"\u003e\n\n\n2. Complete page\n\u003cimg width=\"500\" alt=\"Screenshot 2024-10-14 at 9 31 46 PM\" src=\"https://github.com/user-attachments/assets/e230dbf9-a686-47b5-b656-fe239874d4d9\"\u003e\n\n## Getting Started with Installation\n\n### 1. Clone the Repository\n\nClone the project repository to your local machine:\n\n```bash\ngit clone https://github.com/skar-software/svelte-blogger.git\ncd svelte-blogger\n```\n\n### 2. Install Dependencies\n\nInstall the project dependencies using npm:\n\n```bash\nnpm install\n```\n\n### 3. Run the Development Server\n\nTo start the development server with hot-reloading:\n\n```bash\nnpm run dev\n```\n\nYour application should now be running at [http://localhost:5173](http://localhost:5173).\n\n### 4. Build for Production\n\nTo build the application for production:\n\n```bash\nnpm run build\n```\n\nThis command will generate the production-ready files in the `dist` directory.\n\n### 5. Preview the Production Build\n\nTo preview the production build locally:\n\n```bash\nnpm run preview -- --host\n```\n\nThis command will serve the built application, typically on port 4173, and make it accessible via the network.\n\n## Running with Docker\n\nIf you prefer to run the application inside a Docker container, follow these steps:\n\n### 1. Build the Docker Image\n\nBuild the Docker image using the Dockerfile:\n\n```bash\ndocker build -t blogger .\n```\n\n### 2. Run the Docker Container\n\nRun the Docker container, exposing the application on port 4173:\n\n```bash\ndocker run -p 4173:4173 blogger\n```\n\nYour application will be accessible at [http://localhost:4173](http://localhost:4173).\n\n## Scripts\n\nHere are the main scripts available in the project:\n\n- **`npm run dev`**: Starts the development server with hot-reloading.\n- **`npm run build`**: Builds the application for production.\n- **`npm run preview`**: Previews the production build locally.\n- **`npm run start`**: (In Docker) Starts the production server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskar-software%2Fsvelte-blog-git-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskar-software%2Fsvelte-blog-git-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskar-software%2Fsvelte-blog-git-book/lists"}