{"id":15697548,"url":"https://github.com/kt3k/wsindex","last_synced_at":"2025-03-30T13:44:59.104Z","repository":{"id":57400068,"uuid":"122803981","full_name":"kt3k/wsindex","owner":"kt3k","description":":vertical_traffic_light:A static site generator for a simple link list.","archived":false,"fork":false,"pushed_at":"2018-06-04T14:05:00.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-07T14:04:37.776Z","etag":null,"topics":["development","static-site-generator","website"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/kt3k.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}},"created_at":"2018-02-25T04:09:06.000Z","updated_at":"2018-06-04T14:05:02.000Z","dependencies_parsed_at":"2022-08-25T22:52:03.550Z","dependency_job_id":null,"html_url":"https://github.com/kt3k/wsindex","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fwsindex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fwsindex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fwsindex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kt3k%2Fwsindex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kt3k","download_url":"https://codeload.github.com/kt3k/wsindex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246326600,"owners_count":20759436,"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":["development","static-site-generator","website"],"created_at":"2024-10-03T19:20:32.397Z","updated_at":"2025-03-30T13:44:59.079Z","avatar_url":"https://github.com/kt3k.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wsindex v1.1.1\n\n\u003e :vertical_traffic_light: A static site generator for a simple link list.\n\nwsindex is a static site generator which creates the index web page of the list of web pages.\n\n# :cd: Install\n\nVia npm:\n\n    npm i -g wsindex\n\nor, if you prefer local install:\n\n    npm i wsindex\n\n# Why is this necessary?\n\nIf one uses many many static site generators in a project and invokes them simultaneously, then it's a mess to open all of them. This tool works as the index of all the pages and works as the portal of your many many generated static sites.\n\n# Usage\n\nIn package.json, define `wsindex` property:\n\npackage.json:\n\n```json\n{\n  ...\n  \"wsindex\": {\n    \"pages\": [\n      {\n        \"title\": \"The title of the page\",\n        \"desc\": \"The description of the page\",\n        \"serve\": \"The url when being served\",\n        \"build\": \"The url when being built\"\n      },\n      ...\n    ]\n  }\n}\n```\n\nThen hit command `wsindex`:\n\n    wsindex\n\nThis serves the single web page of the above link list.\n\nHit the command `wsindex build`:\n\n    wsindex build\n\nThis outputs the html under the `build/` directory.\n\n# Config\n\nThe port number of the server and output directory are configurable.\n\nFull configurations are like the below:\n\n```json\n{\n  \"wsindex\": {\n    \"port\": 9000,\n    \"dest\": \"build\",\n    \"pages\": [\n      \"... list of object of links here ...\"\n    ]\n  }\n}\n```\n\n- `port` is the port of the server.\n- `dest` is the destination directory when being built.\n- `pages` are the list of link entities.\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkt3k%2Fwsindex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkt3k%2Fwsindex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkt3k%2Fwsindex/lists"}