diff --git a/.config/typedoc.css b/.config/typedoc.css index b40e4d0..bc15a30 100644 --- a/.config/typedoc.css +++ b/.config/typedoc.css @@ -34,6 +34,7 @@ pre { content: ""; height: 100%; z-index: -1; + -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } @@ -84,6 +85,7 @@ pre > button { padding: 6px 12px; border-radius: 4px; cursor: pointer; + -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); max-height: calc(100% - 8px * 2); display: flex; @@ -204,9 +206,29 @@ h6:not(.tsd-anchor-link, .tsd-returns-title) > a:hover:before { } #tsd-search.has-focus .results { + -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); } .container-main { margin-top: 16px; } + +img[src="assets/logo.roundEdges.png"], +img[src="assets/logo.png"] { + box-shadow: 0px 4px 12px 0px rgb(0 0 0 / 16%), 0px 8px 64px 0px rgb(0 0 0 / 24%); + border-radius: 14px; +} + +div[align="center"] > img[alt="Star please"][src="assets/star.please.roundEdges.png"] ~ p[align="right"], +div[align="center"] > img[alt="Star please"][src="assets/star.please.png"] ~ p[align="right"] { + max-width: 360px; +} +div[align="center"] > img[alt="Star please"][src="assets/star.please.roundEdges.png"] ~ p[align="right"]>*, +div[align="center"] > img[alt="Star please"][src="assets/star.please.png"] ~ p[align="right"]>* { + display: none; +} +div[align="center"] > img[alt="Star please"][src="assets/star.please.roundEdges.png"] ~ p[align="right"]>:first-of-type, +div[align="center"] > img[alt="Star please"][src="assets/star.please.png"] ~ p[align="right"]>:first-of-type { + display: block; +} diff --git a/README.md b/README.md index 92e9bc0..442e7d5 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,12 @@
+ node-llama-cpp Logo +

Node Llama.cpp

+

Node.js bindings for llama.cpp

+ Pre-built bindings are provided with a fallback to building from source with node-gyp +

+
-# Node Llama.cpp -Node.js bindings for llama.cpp. - -Pre-built bindings are provided with a fallback to building from source with `node-gyp`. +
[![Build](https://github.com/withcatai/node-llama-cpp/actions/workflows/build.yml/badge.svg)](https://github.com/withcatai/node-llama-cpp/actions/workflows/build.yml) [![License](https://badgen.net/badge/color/MIT/green?label=license)](https://www.npmjs.com/package/node-llama-cpp) @@ -312,3 +315,17 @@ Options: -h, --help Show help [boolean] -v, --version Show version number [boolean] ``` + +## Acknowledgements +* llama.cpp: [ggerganov/llama.cpp](https://github.com/ggerganov/llama.cpp) + + +
+ +
+ Star please +
+

+ If you like this repo, star it ✨                                                     +

+
diff --git a/assets/logo.png b/assets/logo.png new file mode 100644 index 0000000..d33df56 --- /dev/null +++ b/assets/logo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1b5fc2e5894fe72ec36cf7223a4a81bbe11d402a5ab1a4f9b32a30eb3c774c93 +size 1142537 diff --git a/assets/logo.roundEdges.png b/assets/logo.roundEdges.png new file mode 100644 index 0000000..03675c4 --- /dev/null +++ b/assets/logo.roundEdges.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:75ef825d8929cec9a6a0e0f3d49501a175ad0be4d0c03aa37a30f98c3f96d770 +size 1301923 diff --git a/assets/star.please.png b/assets/star.please.png new file mode 100644 index 0000000..0935d75 --- /dev/null +++ b/assets/star.please.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d7f8ba17d6e0ab664555ce2d448efb1c837b4e7356c7ffd34be5013e98244d4 +size 910263 diff --git a/assets/star.please.roundEdges.png b/assets/star.please.roundEdges.png new file mode 100644 index 0000000..1b98c46 --- /dev/null +++ b/assets/star.please.roundEdges.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4165ee99729cc0d4143cba359540dcffd76afc59210d2ab80314e761f685dd7 +size 1033733 diff --git a/package.json b/package.json index afa1d2e..6033d84 100644 --- a/package.json +++ b/package.json @@ -44,7 +44,7 @@ "prebuild": "rm -rf ./dist ./tsconfig.tsbuildinfo", "build": "tsc --build tsconfig.json --force", "addPostinstallScript": "npm pkg set scripts.postinstall=\"node ./dist/cli/cli.js postinstall\"", - "generate-docs": "typedoc", + "generate-docs": "typedoc && cp -r ./assets/*.png ./docs/assets/", "prewatch": "rm -rf ./dist ./tsconfig.tsbuildinfo", "watch": "tsc --build tsconfig.json --watch --force", "node-gyp-llama": "cd llama && node-gyp",