> For the complete documentation index, see [llms.txt](https://sugoi.gitbook.io/lanraragi/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sugoi.gitbook.io/lanraragi/advanced-usage/categories.md).

# Categories

Categories appear in the archive index as shortcut buttons.

There are two distinct kinds:

* 📁 Static Categories are arbitrary collections of Archives, where you can add as many items as you want.
* ⚡ Dynamic Categories contain all archives matching a given predicate, and automatically update alongside your library.

Toggling a category in the index will restrict all your searches to that category, for as long as it is toggled. If you have a lot of categories, the most recently used will appear first in the list.

\
**📌Pinned** Categories will always show first.

![filtered](/files/V6JlagV86YLiQN4mrnca)

To create categories, you can use the dedicated setting page in the app:

{% hint style="info" %}
If you have an existing folder hierarchy for your Archives, LRR can automatically create categories from said hierarchy through the dedicated utility Script.

Look for it in Plugin Configuration.
{% endhint %}

## 🔖 Bookmark Feature

LANraragi includes a bookmark feature that provides a quick way to add or remove archives from a designated static category. In new installations, a "Favorites" static category is automatically created and linked to this feature.

When enabled, a bookmark icon appears next to all archive thumbnails on the homepage and in the reader interface. Clicking this icon instantly adds or removes the archive from the linked category, making content curation faster and more convenient.

![Bookmark icon](/files/m1DIYG56b8H1GooRqoWq)

You can link the bookmark feature to any static category of your choice. To change which category is used, navigate to the Category Management page, select the desired static category, and enable the "Store Bookmarks in this Category" toggle.

{% hint style="info" %}
Only static categories can be linked to the bookmark feature. Dynamic categories (those based on search predicates) cannot be used with this feature.
{% endhint %}

To disable the bookmark feature entirely, simply toggle off the "Store Bookmarks in this Category" option for the currently linked category.

![Bookmark configuration toggle](/files/v7V4yq2zpMMMFCMOvmfw)

{% hint style="info" %}
If you delete a category that is currently linked to the bookmark feature, the bookmark functionality will be automatically disabled.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sugoi.gitbook.io/lanraragi/advanced-usage/categories.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
