8000 GitHub - hanxi/tiny-nav: 非常简单的个人导航网站 / A Simple Personal Navigation Website
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

hanxi/tiny-nav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TinyNav · 非常简单的个人导航网站 / A Simple Personal Navigation Website

Language: 中文 | English


中文版本

GitHub Stars
Docker Pulls
Docker Image Size

✨ 一款极简、自托管的个人导航网站,基于 Go + Vue 开发。

在线体验地址 👉 https://nav.hanxi.cc

  • 账号: admin
  • 密码: 123456

Important

请勿修改或删除数据 🙏


支持功能

  • 拖拽排序
  • 夜间模式
  • 适配桌面端和移动端
  • 拉取网站图标或自定义svg图标
  • 无账号密码模式: 不需要账号密码即可编辑
  • 无账号密码浏览模式: 不需要账号密码可浏览,需要账号密码才能编辑

🐳 使用 Docker 快速部署

使用 Docker Compose

国际镜像

services:
  tiny-nav:
    image: hanxi/tiny-nav
    container_name: tiny-nav
    restart: unless-stopped
    ports:
      - 8080:58080
    environment:
      NAV_USERNAME: admin
      NAV_PASSWORD: 123456
    volumes:
      - /tiny-nav-data:/app/data

国内镜像

services:
  tiny-nav:
    image: docker.hanxi.cc/hanxi/tiny-nav
    container_name: tiny-nav
    restart: unless-stopped
    ports:
      - 8080:58080
    environment:
      NAV_USERNAME: admin
      NAV_PASSWORD: 123456
    volumes:
      - /tiny-nav-data:/app/data

启动命令:

docker compose up -d

使用 Docker 运行

国际镜像

docker run -d \
  --name tiny-nav \
  -p 8080:58080 \
  -e NAV_USERNAME=admin \
  -e NAV_PASSWORD=123456 \
  -v /tiny-nav-data:/app/data \
  hanxi/tiny-nav

国内镜像

docker run -d \
  --name tiny-nav \
  -p 8080:58080 \
  -e NAV_USERNAME=admin \
  -e NAV_PASSWORD=123456 \
  -v /tiny-nav-data:/app/data \
  docker.hanxi.cc/hanxi/tiny-nav

访问页面:打开浏览器访问 http://<你的IP>:8080

🧩 本地运行(非 Docker)

  1. 前往 Releases 页面 下载对应平台的可执行文件
  2. 无认证启动:
./tiny-nav --port=58080 --no-auth
  1. 有账号密码启动:
./tiny-nav --port=58080 --user=admin --password=123456
  1. 访问地址:http://localhost:58080

🔧 从源码编译

sh build.sh

将生成 tiny-nav 可执行文件,所有前端资源已打包至其中。运行示例:

ENABLE_NO_AUTH=true LISTEN_PORT=58080 ./tiny-nav

访问:http://localhost:58080

🧱 技术栈

  • 后端:Golang
  • 前端:Vue 3

📌 开发计划

  • 支持只读模式:查看免登录,编辑需登录
  • 数据有变化才拉取,避免重复加载
  • 自动深色模式
  • 支持书签导入
  • 支持站内搜索

English Version

GitHub Stars
Docker Pulls
Docker Image Size

✨ A minimalist, self-hosted personal navigation website developed using Go and Vue.

Online Demo 👉 https://nav.hanxi.cc

  • Username: admin
  • Password: 123456

Important

Please do not modify or delete data 🙏


Features

  • Drag-and-drop sorting
  • Night mode
  • Compatible with desktop and mobile
  • Retrieve website icons or customize SVG icons
  • No-account mode: edit without needing username and password
  • View-only mode without account: browse without username and password; editing requires login

🐳 Quick Deployment Using Docker

Using Docker Compose

International Image

services:
  tiny-nav:
    image: hanxi/tiny-nav
    container_name: tiny-nav
    restart: unless-stopped
    ports:
      - 8080:58080
    environment:
      NAV_USERNAME: admin
      NAV_PASSWORD: 123456
    volumes:
      - /tiny-nav-data:/app/data

Domestic Image

services:
  tiny-nav:
    image: docker.hanxi.cc/hanxi/tiny-nav
    container_name: tiny-nav
    restart: unless-stopped
    ports:
      - 8080:58080
    environment:
      NAV_USERNAME: admin
      NAV_PASSWORD: 123456
    volumes:
      - /tiny-nav-data:/app/data

Start command:

docker compose up -d

Running with Docker

International Image

docker run -d \
  --name tiny-nav \
  -p 8080:58080 \
  -e NAV_USERNAME=admin \
  -e NAV_PASSWORD=123456 \
  -v /tiny-nav-data:/app/data \
  hanxi/tiny-nav

Domestic Image

docker run -d \
  --name tiny-nav \
  -p 8080:58080 \
  -e NAV_USERNAME=admin \
  -e NAV_PASSWORD=123456 \
  -v /tiny-nav-data:/app/data \
  docker.hanxi.cc/hanxi/tiny-nav

Access the site by opening your browser and visiting http://:8080

🧩 Running Locally (Without Docker)

  1. Visit the Releases page to download the executable for your platform.
  2. Start without authentication:
./tiny-nav --port=58080 --no-auth
  1. Start with account authentication:
./tiny-nav --port=58080 --user=admin --password=123456
  1. Access: http://localhost:58080

🔧 Compiling from Source

sh build.sh

This will generate the tiny-nav executable file, with all frontend resources bundled within. Example of running:

ENABLE_NO_AUTH=true LISTEN_PORT=58080 ./tiny-nav

Access: http://localhost:58080

🧱 Tech Stack

  • Backend: Golang
  • Frontend: Vue 3

📌 Development Plan

  • Support read-only mode: view without login, edit requires login
  • Pull data only on changes to avoid redundant loading
  • Automatic dark mode
  • Support bookmark import
  • Support in-site search

Star History

Star History Chart

About

非常简单的个人导航网站 / A Simple Personal Navigation Website

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published
0