Sponsored by Deepsite.site

Ever Works Directory Website Template

Created By
ever-works7 months ago
A curated list of the best MCP Servers, featuring top solutions, libraries, tools, and more. -
Content

Ever Works Directory Website Template

⭐️ What is it?

Welcome to the Ever Works Directory Website Template, a cutting-edge, full-stack directory website solution built with Next.js 15.

This versatile template is an essential component of the Ever Works Platform, offering seamless integration while maintaining the flexibility to function as a standalone solution.

Project Overview

🧱 Technology Stack and Requirements

📄 Project Structure

├── .content/             # Content management directory
│   ├── posts/            # Blog posts
│   ├── categories/       # Category definitions
│   └── assets/           # Media files related to content
├── app/
│   ├── [locale]/         # Internationalized routes
│   ├── api/              # API routes
│   └── auth/             # Authentication pages
├── components/           # Reusable UI components
├── lib/                  # Utility functions and config
├── public/               # Static files
└── styles/               # Global styles

Content Management System (.content)

The .content folder acts as a Git-based CMS, synchronized with the repository specified in the DATA_REPOSITORY environment variable.

Folder Structure:

  • posts/: Markdown files for blog articles
    • Each post has a frontmatter (title, date, author, etc.)
    • Supports MDX for interactive content
    • Organized by date and category
  • categories/: Content organization
    • YAML files for category configuration
    • Supports nested categories
    • Metadata and category relationships
  • assets/: Media files related to content
    • Images, documents, downloadable resources
    • Organized according to content structure

Content Synchronization

Automatic sync via GitHub integration:

  1. Content is pulled from DATA_REPOSITORY
  2. Changes are tracked via Git
  3. Updates occur periodically or on demand
  4. Requires a valid GH_TOKEN for private repos

Site Configuration (config.yml)

The .content/config.yml file controls main site settings:

# Basic site settings
company_name: Acme             # Company or site name
content_table: false          # Enable/disable content table
item_name: Item               # Singular name for items
items_name: Items             # Plural name for items
copyright_year: 2025         # Footer copyright

# Auth settings
auth:
    credentials: true         # Email/password login
    google: true              # Google login
    github: true              # GitHub login
    microsoft: true           # Microsoft login
    fb: true                  # Facebook login
    x: true                   # X (Twitter) login

Configuration Options:

  1. Basic settings
    • company_name: Your organization's name
    • content_table: Enable or disable content table
    • item_name / items_name: Custom item labels
    • copyright
  2. Auth settings
    • Enable/disable OAuth providers
    • Use true to enable, false to disable
    • Configure corresponding OAuth keys

💡 Note: Changes in config.yml are applied after syncing content or restarting the server.

Getting Started

Prerequisites

  • Node.js 18.x or higher
  • PostgreSQL database (optional)
  • npm or yarn or pnpm package manager

Environment Setup

  1. Copy the .env.example file to .env.local:
cp .env.example .env.local
  1. Fill in your environment variables in .env.local:

Auth Setup

AUTH_SECRET="your-secret-key"
# Generate one with: openssl rand -base64 32

GitHub Integration

Define the data repository

  1. Fork the repository:
  2. Configure GitHub integration:
GH_TOKEN='your-github-token'
DATA_REPOSITORY='https://github.com/ever-works/awesome-data'

💡 Important: The .content folder is created and synced automatically at startup with valid GitHub credentials.

Database Configuration

DATABASE_URL=postgresql://user:password@localhost:5432/db_name

Details

  • user: PostgreSQL username
  • password: PostgreSQL password
  • localhost: Database host
  • 5432: Default PostgreSQL port
  • db_name: Name of your database

⚠️ Security: Never commit .env.local. Keep your secrets safe.

Installation

# Install dependencies
npm install
# or
yarn install

# Set up the database
npm run db:generate
npm run db:migrate

# Start the dev server
npm run dev

The app will be available at http://localhost:3000.

Developer Tools

  • Database Studio: npm run db:studio
  • Linting: npm run lint
  • Type Checking: tsc or during build

Developer Guide

Adding New Features

  1. Pages: Add in app/[locale]
  2. API: Create endpoints in app/api
  3. Components: Add to components
  4. Database: Edit schema in lib/db/schema.ts

Internationalization

  • Add translations under messages
  • Use useTranslations in components
  • Add new locales in config

Authentication

  • Configure providers in auth.config.ts
  • Protect routes via middleware
  • Customize auth pages in app/[locale]/auth

🔗 Resources

Deployment on Vercel

The easiest way to deploy the app is via the Vercel platform.

Check the Next.js deployment docs.

License

AGPL v3

™️ Trademarks

Ever® is a registered trademark of Ever Co. LTD. Ever® Works™, Ever® Demand™, Ever® Gauzy™, Ever® Teams™ and Ever® OpenSaaS™ are all trademarks of Ever Co. LTD.

The trademarks may only be used with the written permission of Ever Co. LTD. and may not be used to promote or otherwise market competitive products or services.

All other brand and product names are trademarks, registered trademarks, or service marks of their respective holders.

🍺 Contribute

  • Please give us a :star: on Github, it helps!
  • You are more than welcome to submit feature requests in the separate repo
  • Pull requests are always welcome! Please base pull requests against the develop branch and follow the contributing guide.

💪 Thanks to our Contributors

See our contributors list in CONTRIBUTORS.md. You can also view a full list of our contributors tracked by Github.

⭐ Star History

Star History Chart

❤️ Powered By

Powered by Vercel

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
Playwright McpPlaywright MCP server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Amap Maps高德地图官方 MCP Server
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
CursorThe AI Code Editor
Serper MCP ServerA Serper MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
DeepChatYour AI Partner on Desktop
ChatWiseThe second fastest AI chatbot™
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Tavily Mcp
WindsurfThe new purpose-built IDE to harness magic
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"