Skip to content

About

WebStack 美化版 · A beautified WebStack link-navigation site: modern UI, smooth motion, dark mode, links in one config.yml, deploys to Vercel

Resources

Stars

5 stars

Watchers

0 watching

Forks

Latest commit

 

History

38 Commits

Folders and files

Repository files navigation

WebStack Modern

A beautified, modernized version of WebStack — the popular static link-navigation page (webstack.cc). It keeps WebStack's layout and adds a refreshed visual style, smooth motion, search, dark mode, and a config-file workflow. The link collection is my own (migrated from TonyWu2333/navigate).

What's different from the original WebStack

Original WebStack WebStack Modern
Editing links Hand-edit ~4,300 lines of HTML Edit one config.yml
Look 2017 Xenon admin style Rounded cards, pill sidebar, frosted sticky top bar, icon headings with link counts
Motion Basic hover lift Staggered scroll-in, cursor spotlight on cards, eased sidebar submenu open/close, scrollspy highlighting
Search — Instant filter by name, description or URL with highlighted matches; ⌘K / Ctrl+K to focus, Enter opens the first result, Esc clears
Dark mode — Follows the system, with a manual toggle (remembered)
Logo Image only Text logo from config, or your own image
Fonts Google Fonts (slow in mainland China) System font stack
Third-party code Author's Baidu/Google analytics, AdSense, referral links Removed

Motion respects prefers-reduced-motion.

Editing links

Everything is in config.yml:

nav:
  - name: 常用推荐          # top-level category
    icon: linecons-star
    links:
      - title: GitHub
        url: https://github.com/
        logo: github.png    # file in assets/images/logos/, or a full image URL
        desc: 代码托管平台
  - name: 常用工具
    icon: linecons-diamond
    children:               # second-level categories
      - name: 在线工具
        badge: Hot          # optional label in the sidebar
        links: [...]
  • title and url are required; desc and logo are optional (a missing or broken logo falls back to default.png).
  • To add a logo, drop the image into assets/images/logos/ and reference its filename.
  • Sidebar icons: see class names in assets/css/fonts/linecons/css/linecons.css.
  • Site title, name/logo, footer and extra <head> HTML (e.g. your own analytics) are under site:.
  • Accent colors: --accent / --accent-2 at the top of assets/css/modern.css.

Local preview

npm install
npm run build
npx serve dist

Deploy (Vercel)

Import this repo in Vercel. vercel.json already sets the build command (npm run build) and output directory (dist), so no extra configuration is needed. Every push redeploys automatically.

Project layout

  • config.yml — site settings and all links
  • template.html — page skeleton
  • build.js — renders config.yml into dist/index.html
  • assets/css/modern.css, assets/js/modern.js — the modern skin, layered on top of the untouched original WebStack/Xenon assets

Credits

Based on WebStack by Viggo (MIT), built on the Xenon admin template. This project is also MIT licensed.

Friends

  • LINUX DO — thanks to the LINUX DO community for the support

About

WebStack 美化版 · A beautified WebStack link-navigation site: modern UI, smooth motion, dark mode, links in one config.yml, deploys to Vercel

Resources

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages