HN 표시: Common Lisp의 북마크 도구

hackernews | | 📦 오픈소스
#bookmark #cli #common lisp #show hn #tools
원문 출처: hackernews · Genesis Park에서 요약 및 분석

요약

Common Lisp로 작성된 'cl-bookmark-tool'은 JSON이나 HTML 형식의 북마크 파일을 불러와 정규 표현식을 이용해 필터링하거나 중복을 제거할 수 있는 유틸리티입니다. sbcl과 quicklisp만 설치되어 있으면 의존성을 자동으로 처리하여 make 명령어로 쉽게 실행할 수 있으며, GPLv3 라이선스로 공개되었습니다. 향후 윈도우 등 다양한 플랫폼을 위한 바이너리 배포와 브라우저 데이터베이스 직접 연동 지원이 계획되어 있습니다.

본문

Parses bookmarks from json or html format and filtering them based on function. cl-bookmark-tool tool -i -o --help display usage information and exit --overwrite overwrite output file --version display version and exit -d, --delete-duplicates delete bookmarks with same value on field. example: --delete-duplicates 'url' [choices: url, host, path, name] -i, --input-file input file -m, --modify-field-regex Modify bookmark by field. Format: // Allowed Fields: path, url, host, proto, folder-path, name Example: --modify 'path/[?][=][0-9]+$/?=0' -o, --output-file output file -r, --filter-regex filter out bookmark using regex matching on field. format: / allowed fields: path, url, host, proto, folder-path, name example: --filter-regex 'path/.*google[.]com.*' You don't need to manually install dependencies, just ensure you have sbcl and quicklisp installed and set up. - sbcl: https://www.sbcl.org/platform-table.html - quicklisp: https://www.quicklisp.org/beta/#installation - clone repository - cd into repo and run make - run ./cl-bookmark-tool tool Dependencies can be found in the quicklisp repo, excluding maximilian-utils , which is hosted on github (link). quicklisp - remote package installing/handlingasdf - system/package configurationuiop - system/file handlingclingon - option handlingyason - handling jsoncl-ppcre - regex librarymaximilian-utils - utilities - Conversion between Netscape Bookmark File, JSON - Filtering out bookmarks based on regex - Filtering out duplicate bookmarks - Modifying bookmark fields based on regex - Removing/ Modifying bookmarks with urls that no longer exist or return error (e.g. 403, 404, 500) - Binary Releases (order of importance: linux, mac, windows) - Extracting/pushing using browser database directly GPLv3

Genesis Park 편집팀이 AI를 활용하여 작성한 분석입니다. 원문은 출처 링크를 통해 확인할 수 있습니다.

공유

관련 저널 읽기

전체 보기 →