Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
146 lines (115 loc) · 10.5 KB

File metadata and controls

146 lines (115 loc) · 10.5 KB
Copy raw file
Download raw file
Outline
Edit and raw actions

English

使用我的应用,也是对我的支持
Scap: Screenshot & Markup Edit Screen Test Deskmark Keyzer Vidwall Hub VidCrop Vidwall Mousio Hint Mousio Musicer Audioer FileSentinel FocusCursor Videoer KeyClicker DayBar Iconed Menuist Quick RSS Quick RSS Web Serve Copybook Generator DevTutor for SwiftUI RegexMate Time Passage Iconize Folder Textsound Saver Create Custom Symbols DevHub Resume Revise Palette Genius Symbol Scribe

Menuist 书签

Buy me a coffee Follow On X

本项目提供了 Menuist v4.1+ 使用的书签数据。只需将本项目的 bookmarks 文件夹添加到 Menuist 的常用目录中,即可快速生成一个网站导航菜单,方便快速打开常用网站。

Menuist Screenshots

项目中的书签使用 macOS 和 iOS 系统的 .webloc 文件格式存储,每个 .webloc 文件都是一个指向特定 URL 的快捷方式。通过文件夹对网站进行分类,再结合 Menuist 的常用目录导航功能,可以快速访问整理好的网站列表,实现类似网站导航的体验。

Menuist Bookmarks

目录结构

├── bookmarks/          # 存放 .webloc 文件(支持子文件夹)
│   ├── menuist.ini     # ⚠️ Menuist 配置
│   ├── GitHub.webloc
│   ├── Gmail.webloc
│   ├── AI/             # 支持子文件夹
│   │   ├── ChatGPT.webloc
│   │   ├── Claude.webloc
│   │   └── ...
│   └── ...
├── icons/              # 存放图标文件
│   ├── github.com.icns
│   ├── google.com.icns
│   ├── chatgpt.com.icns
│   └── ...
├── set_icons.swift     # Swift 源码
└── set_icons           # 编译后的二进制文件

添加新的书签

1️⃣ 在 bookmarks/ 目录下创建一个名为 Apple.webloc 的文本文件(带 .webloc 后缀),将下面的 XML 内容粘贴进去,并根据需要修改其中的网址。

<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
  <dict>
    <key>URL</key>
	  <string>https://www.apple.com/</string>
  </dict>
</plist>

添加新的书签

2️⃣ 添加书签图标

将下载好的 .icns 图标放入 icons 目录,并以网址命名,例如 apple.com.icns

然后运行 ./set_icons 命令,即可自动为 Apple.webloc 文件设置对应的图标。

图标文件(.icns)可以通过以下方式获取或制作:

webloc 文件图标设置

脚本可以自动为 .webloc 文件设置图标,根据网址的域名从 icons 目录中匹配对应的图标文件。

1️⃣ 方法1: 直接运行 Swift 脚本 (需要安装 Swift)

swift set_icons.swift

2️⃣ 方法2: 编译成二进制文件 (推荐)

如果没有 swift 环境运行 swift 脚本,可以直接运行 ./set_icons 命令文件设置文件图标

# 手动编译,生成二进制文件
swiftc -o set_icons set_icons.swift

# 运行
./set_icons

配置

在常用目录的根目录下放置 menuist.ini 配置文件,可以隐藏部分菜单项,让书签菜单更整洁。你也可以使用隐藏文件 .menuist.ini 来作为配置文件。

[options]
; 显示文件扩展名
showFileExtension = false
; 显示常用应用菜单
showCommonAppMenu = false
; 显示「在 Finder 中打开」菜单
showOpenInFinderMenu = false
; 显示父文件夹菜单
showParentFolderMenu = false

License

MIT © Kenny Wong

Morty Proxy This is a proxified and sanitized view of the page, visit original site.