index int64 0 0 | repo_id stringclasses 351
values | file_path stringlengths 26 186 | content stringlengths 1 990k |
|---|---|---|---|
0 | hf_public_repos | hf_public_repos/chat-ui/Dockerfile | # syntax=docker/dockerfile:1
ARG INCLUDE_DB=false
FROM node:20-slim AS base
ENV PLAYWRIGHT_SKIP_BROWSER_GC=1
# install dotenv-cli
RUN npm install -g dotenv-cli
# switch to a user that works for spaces
RUN userdel -r node
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
... |
0 | hf_public_repos | hf_public_repos/chat-ui/.dockerignore | Dockerfile
.vscode/
.idea
.gitignore
LICENSE
README.md
node_modules/
.svelte-kit/
.env*
!.env
.env.local |
0 | hf_public_repos | hf_public_repos/chat-ui/tailwind.config.cjs | const defaultTheme = require("tailwindcss/defaultTheme");
const colors = require("tailwindcss/colors");
/** @type {import('tailwindcss').Config} */
export default {
darkMode: "class",
mode: "jit",
content: ["./src/**/*.{html,js,svelte,ts}"],
theme: {
extend: {
colors: {
primary: colors[process.env.PUBLIC_... |
0 | hf_public_repos | hf_public_repos/chat-ui/svelte.config.js | import adapter from "@sveltejs/adapter-node";
import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
import dotenv from "dotenv";
import { execSync } from "child_process";
dotenv.config({ path: "./.env.local" });
dotenv.config({ path: "./.env" });
function getCurrentCommitSHA() {
try {
return execSync("git... |
0 | hf_public_repos | hf_public_repos/chat-ui/package-lock.json | "{\n\t\"name\": \"chat-ui\",\n\t\"version\": \"0.9.4\",\n\t\"lockfileVersion\": 3,\n\t\"requires\": (...TRUNCATED) |
0 | hf_public_repos | hf_public_repos/chat-ui/tsconfig.json | "{\n\t\"extends\": \"./.svelte-kit/tsconfig.json\",\n\t\"compilerOptions\": {\n\t\t\"allowJs\": true(...TRUNCATED) |
0 | hf_public_repos | hf_public_repos/chat-ui/LICENSE | "Copyright 2018- The Hugging Face team. All rights reserved.\n\n Apa(...TRUNCATED) |
0 | hf_public_repos | hf_public_repos/chat-ui/PRIVACY.md | "## Privacy\n\n> Last updated: April 15, 2024\n\nUsers of HuggingChat are authenticated through thei(...TRUNCATED) |
0 | hf_public_repos | hf_public_repos/chat-ui/.npmrc | engine-strict=true
|
0 | hf_public_repos | hf_public_repos/chat-ui/.eslintignore | ".DS_Store\nnode_modules\n/build\n/.svelte-kit\n/package\n.env\n.env.*\n!.env.example\n\n# Ignore fi(...TRUNCATED) |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 7