Skip to content
alihd-techPublic

About

vless-worker

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Here is a clean, well‑structured, production‑ready README.md for your Nuxt webapp. It explains the stack, features, scripts, project structure, and deployment details based on your provided config.

If you want it tailored to a specific product name, repo URL, or with badges, let me know and I’ll refine it.


VPN Network Hub

A multilingual, SSR‑enabled Nuxt 3 web application focused on VPN technologies, network protocols, and cybersecurity fundamentals.

Overview

VPN Network Hub is a modern Nuxt 3 application powered by Nuxt UI, TailwindCSS, color‑mode theming, i18n localization, and Nitro with experimental WebAssembly support. The app is optimized for SEO, fast performance, and a clean developer experience.

This project aims to provide a structured and user‑friendly hub for learning about VPNs, tunneling protocols, networking, and security principles.


Features

  • Server‑Side Rendering (SSR) for improved SEO and performance
  • Multilingual support (English & Persian) with auto‑detection
  • TailwindCSS + Nuxt UI for a modern, responsive UI
  • Dark/Light/System color mode with user preference storage
  • Nitro with experimental WebAssembly support
  • Fast dependency optimization via Vite
  • Configured metadata for better search engine visibility
  • Modular and scalable architecture

Tech Stack

  • Nuxt 3
  • Nitro server engine
  • Nuxt UI
  • TailwindCSS
  • Vue 3 with composables
  • @nuxtjs/i18n for localization
  • @nuxtjs/color-mode for theme switching
  • Vite dev server and bundler
  • WebAssembly (experimental)

Project Setup

Install Dependencies

npm install
# or
pnpm install
# or
yarn install

Development Server

npm run dev

Runs the app with SSR + hot module replacement.


Production

Build for Production

npm run build

Preview the Production Build

npm run preview

Deploy

This project can be deployed to:

  • Vercel
  • Netlify
  • Cloudflare Pages
  • Node servers
  • Docker
  • Any platform supported by Nitro

To generate a standalone Node server:

npm run build
node .output/server/index.mjs

Localization (i18n)

Configured using @nuxtjs/i18n with:

  • Locale files stored in locales/
  • Lazy‑loading enabled
  • Browser language detection via cookies
  • Default language: English
  • Secondary language: Persian (Farsi)

URL strategy:
prefix_except_default →

  • English routes: /about
  • Persian routes: /fa/about

Theming (Color Mode)

Using @nuxtjs/color-mode with:

  • System preference by default
  • Fallback: light mode
  • No class prefix or suffix
  • Script injected in <head> for early theme load

Stored under key: nuxt-color-mode


SEO Configuration

In nuxt.config:

  • Title: VPN Network Hub – Virtual Private Networks & Protocols
  • Meta tags: charset, viewport, description
  • SSR enabled for better indexing

Directory Structure (Typical)

.
├─ assets/
├─ components/
├─ composables/
├─ layouts/
├─ locales/
│  ├─ en.json
│  └─ fa.json
├─ pages/
├─ public/
├─ server/
└─ nuxt.config.ts

Configuration Summary

Key settings from your nuxt.config:

  • SSR enabled
  • WebAssembly experimental support
  • Nuxt UI + TailwindCSS
  • Transpilation of UI components
  • Vite dependency optimization
  • Language detection cookie: i18n_redirected

License

Add your license here (MIT, GPL, proprietary, etc.)


If you'd like, I can also generate:

  • A shorter README
  • A more marketing‑friendly version
  • A fully commented version for developers
  • A LICENSE file or CONTRIBUTING guide

Just tell me!

About

vless-worker

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages