PHPackages                             divyashriravichandran/bookmark-cli - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. divyashriravichandran/bookmark-cli

ActiveLibrary[CLI &amp; Console](/categories/cli)

divyashriravichandran/bookmark-cli
==================================

A fast and private PHP command-line tool to save, index, and search your favorite web pages entirely from your terminal.

v1.0(yesterday)08↑2900%MITPHPPHP ^8.2

Since Jun 18Pushed yesterdayCompare

[ Source](https://github.com/DivyashriRavichandran/bookmark-cli)[ Packagist](https://packagist.org/packages/divyashriravichandran/bookmark-cli)[ RSS](/packages/divyashriravichandran-bookmark-cli/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (3)Versions (2)Used By (0)

Bookmark CLI
============

[](#bookmark-cli)

A fast PHP command-line tool to save, index, and search your favourite web pages entirely from your terminal.

[![group_14](https://private-user-images.githubusercontent.com/123944655/609916585-e75f898f-6894-45c9-82d5-5b205b1aeeeb.webp?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE4MzY2ODQsIm5iZiI6MTc4MTgzNjM4NCwicGF0aCI6Ii8xMjM5NDQ2NTUvNjA5OTE2NTg1LWU3NWY4OThmLTY4OTQtNDVjOS04MmQ1LTViMjA1YjFhZWVlYi53ZWJwP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDYxOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNj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 Features
----------

[](#-features)

- **Instant Search:** 1-2ms search responses using a local Redis cache.
- **Smart Scraping:** Automatically crawls and extracts HTML from unindexed sites on cache misses
- **Reliable Storage:** Keeps your data safe with local file storage and fuzzy text search via Elasticsearch.

System Requirements
-------------------

[](#system-requirements)

- **PHP** 8.1 or higher
- **Composer** (PHP dependency manager)
- **Redis Server** (Running on port `6379`)
- **Elasticsearch** v7.17+ (Running on port `9200` with Machine Learning disabled)

---

🛠️ Installation
---------------

[](#️-installation)

1. Install globally via Composer using the official **Packagist Registry Listing**:

```
composer global require divyashriravichandran/bookmark-cli:1.0

```

2. **Update your system PATH:**

    Add the Composer global binaries to your shell profile (~/.zshrc or ~/.bashrc):

```
export PATH="$HOME/.composer/vendor/bin:$PATH"

```

🚀 Usage
-------

[](#-usage)

1. **Start Services**

    Make sure your local database services are running:

```
# Start Redis
brew services start redis

# Start Elasticsearch
ES_JAVA_HOME=$(brew --prefix)/opt/openjdk@17/libexec/openjdk.jdk/Contents/Home elasticsearch

```

2. **Available Terminal Commands**

    Run these commands in your terminal:

```
# Add and index a webpage
bookmark add

# Search your bookmarks using fuzzy matching
bookmark search

# Clear the Redis cache
redis-cli flushall

```

###  Health Score

42

—

FairBetter than 89% of packages

Maintenance100

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/123944655?v=4)[Divyashri Ravichandran](/maintainers/DivyashriRavichandran)[@DivyashriRavichandran](https://github.com/DivyashriRavichandran)

---

Top Contributors

[![DivyashriRavichandran](https://avatars.githubusercontent.com/u/123944655?v=4)](https://github.com/DivyashriRavichandran "DivyashriRavichandran (11 commits)")

---

Tags

cliterminalelasticsearchredisbookmarkscraperindexing

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/divyashriravichandran-bookmark-cli/health.svg)

```
[![Health](https://phpackages.com/badges/divyashriravichandran-bookmark-cli/health.svg)](https://phpackages.com/packages/divyashriravichandran-bookmark-cli)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B13.2k](/packages/symfony-console)[unopim/unopim

UnoPim Laravel PIM

10.3k2.2k](/packages/unopim-unopim)[league/climate

PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.

1.9k14.5M291](/packages/league-climate)[php-school/cli-menu

A command line menu helper in PHP

1.9k1.2M30](/packages/php-school-cli-menu)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

596920.8k12](/packages/php-tui-php-tui)[aplus/cli

Aplus Framework CLI Library

2311.7M6](/packages/aplus-cli)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
