Skip to content

dashfy/dashfy-website

Repository files navigation

Dashfy Logo

Dashfy Website

Website   •   Demo   •   Extensions   •   Docs   •   Discord   •   Sponsor

Introduction

This repository contains the source for the official Dashfy marketing site, live at dashfy.dev. It is built with Next.js and shadcn/ui, and presents the product, its extensions, and the brand kit.

This is the website repository and is separate from the Dashfy framework, which lives in the monorepo at github.com/dashfy/dashfy.

Tech Stack

Project Structure

src/app/          # Routes, metadata, OG images
src/components/   # UI sections, navigation, providers
src/config/       # site, paths, extensions, brand
src/hooks/        # Client hooks
src/lib/          # utils, analytics, jsonld, og, shiki
scripts/          # llms.txt generator, clean script
public/brand/     # Brand assets served statically

Components under src/components/ui/ are generated by shadcn/ui and are excluded from the strict ESLint rules.

Getting Started

We recommend running the website locally for development. Follow these steps:

  1. Requirements:
  1. Clone this repository:
git clone git@github.com:dashfy/dashfy-website.git
cd dashfy-website
  1. Install dependencies:
pnpm install
  1. Start the development server:
pnpm dev

pnpm dev runs through portless, which starts next dev --turbopack. Open the local URL it prints. To run Next.js directly instead, use pnpm dev:next.

Build and run the production server:

pnpm build
pnpm start

pnpm build runs the generate:llms prebuild hook to regenerate public/llms.txt.

Scripts

Script Description
dev / dev:next Start the development server
build / start Build and run the production server
lint / lint:fix Run ESLint (optionally with autofix)
format Format files with Prettier
format:check Check formatting without writing
typecheck Type-check the project with tsc
check:fix Run format, lint fix, and typecheck in sequence
generate:llms Generate public/llms.txt from scripts/generate-llms-txt.ts
clean Remove build artifacts

Adding Components

To add shadcn/ui components, run the following command:

npx shadcn@latest add button

Components are placed in src/components/ui/ and can be imported using the @/ alias:

import { Button } from '@/components/ui/button'

Related Repositories

Contributing

Contributions are welcome. For issues and pull requests related to the website, use the dashfy/dashfy-website repository. Framework contributions belong in dashfy/dashfy.

Community

Join the community on Dashfy's Discord server to discuss the project, ask questions, or get help.

Join the conversation on X (Twitter) and follow @dashfydev for updates and announcements.

License

This project is licensed under the MIT License - see the LICENSE file for details.


Header banner

For AI/LLM agents: https://dashfy.dev/llms.txt

About

Dashfy Website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors