{"id":23460806,"url":"https://github.com/mrvandalo/landingpage","last_synced_at":"2025-04-14T05:51:42.673Z","repository":{"id":65608307,"uuid":"68857656","full_name":"mrVanDalo/landingpage","owner":"mrVanDalo","description":"a simple html file using json to render a bookmark page to be shared across teams.","archived":false,"fork":false,"pushed_at":"2024-02-29T13:39:25.000Z","size":651,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T11:03:58.613Z","etag":null,"topics":["html","javascript","json","landing-page","static-site","static-website"],"latest_commit_sha":null,"homepage":"https://mrvandalo.github.io/landingpage/","language":"Nix","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/mrVanDalo.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}},"created_at":"2016-09-21T21:08:12.000Z","updated_at":"2023-01-31T13:56:30.000Z","dependencies_parsed_at":"2023-01-31T14:35:28.224Z","dependency_job_id":null,"html_url":"https://github.com/mrVanDalo/landingpage","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrVanDalo%2Flandingpage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrVanDalo%2Flandingpage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrVanDalo%2Flandingpage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrVanDalo%2Flandingpage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrVanDalo","download_url":"https://codeload.github.com/mrVanDalo/landingpage/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830388,"owners_count":21168272,"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":["html","javascript","json","landing-page","static-site","static-website"],"created_at":"2024-12-24T07:26:06.628Z","updated_at":"2025-04-14T05:51:42.652Z","avatar_url":"https://github.com/mrVanDalo.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nA simple HTML file using JSON to create a list of links.\nThis is useful to collect links for projects or the teams you are working in.\n\n![](./img/screenshot.png)\n\nHave a look at [this github page](https://mrvandalo.github.io/landingpage/) for a working example.\n\n## structure\n\nYou define everything via JSON (or nix if you use the nix module).\n\n```json\n{\n  \"title\": \"title\",\n  \"text\": \"text\",\n  \"items\" : [\n    {\n      \"label\": \"go to example.com\",\n      \"href\": \"https://example.com\",\n      \"image\": \"https://media.giphy.com/media/xrrvZiFNuK7Xa/giphy.gif\"\n    },\n    {\n      \"label\": \"go to other example.com\",\n      \"href\": \"https://other-example.com\",\n      \"image\": \"https://media.giphy.com/media/xrrvZiFNuK7Xa/giphy.gif\"\n    }\n  ]\n}\n```\n\n## Using JavaScript\n\nJust download the [index.html](./docs/index.html) from the `docs` folder.\nEdit the script variable `contentItmes` and you voilà, you have you own landing page.\n\n## Using NixPkgs\n\nThe nix-flake provides a package that can be used to generate a fully static html page.\n\n``` nix\nservices.nginx.virtualHosts.\"example.org\" = {\n  locations.\"/\" = {\n    root = pkgs.landingpage.override { \n      jsonConfig = [{\n        title = \"title\";\n        text = \"text\";\n        items = [\n          {\n            label = \"go to example.com\";\n            href = \"https://example.com\";\n            image = \"https://media.giphy.com/media/xrrvZiFNuK7Xa/giphy.gif\";\n          }\n          {\n            label = \"go to example.com\";\n            href = \"https://example.com\";\n            image = \"https://media.giphy.com/media/xrrvZiFNuK7Xa/giphy.gif\";\n          }\n        ];\n      }];\n    };\n  };\n};\n```\n\n### parameter to override\n\n- `title`: browser tab title\n- `max-width`:  width of the content block\n- `background-color`: background color of the whole page\n- `title-color`: color of the title block\n- `title-background-color`: background color of the title block\n- `text-color`: text color of the text block\n- `text-background-color`: background color of the text block\n- `item-color`: text color of the items\n- `item-background-color`: background color of the items\n- `image-width`: width of the images\n- `image-height`: height of the images\n- `jsonConfig`: the content defined under structure","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrvandalo%2Flandingpage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrvandalo%2Flandingpage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrvandalo%2Flandingpage/lists"}