mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Add Eagle Icon for Khoj to Web, Emacs Interfaces and Readme
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
# Khoj 🦅
|
||||

|
||||

|
||||
|
||||
# Khoj
|
||||
|
||||
*A natural language search engine for your personal notes, transactions and images*
|
||||
|
||||
## Table of Contents
|
||||
|
||||
@@ -63,13 +63,12 @@
|
||||
(defvar khoj--minibuffer-window nil
|
||||
"Minibuffer window being used by user to enter query.")
|
||||
|
||||
(defconst khoj--query-prompt "Khoj: "
|
||||
(defconst khoj--query-prompt "🦅Khoj: "
|
||||
"Query prompt shown to user in the minibuffer.")
|
||||
|
||||
(defvar khoj--search-type "org"
|
||||
"The type of content to perform search on.")
|
||||
|
||||
|
||||
(defun khoj--extract-entries-as-markdown (json-response query)
|
||||
"Convert json response from API to markdown entries"
|
||||
;; remove leading (, ) or SPC from extracted entries string
|
||||
@@ -237,7 +236,7 @@
|
||||
;;;###autoload
|
||||
(defun khoj-simple (query)
|
||||
"Natural Search for QUERY in your personal notes, transactions, music and images using Khoj"
|
||||
(interactive "sQuery: ")
|
||||
(interactive "s🦅Khoj: ")
|
||||
(let* ((rerank "true")
|
||||
(default-type (khoj--buffer-name-to-search-type (buffer-name)))
|
||||
(search-type (completing-read "Type: " '("org" "markdown" "ledger" "music" "image") nil t default-type))
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🦅</text></svg>">
|
||||
<title>Khoj</title>
|
||||
</head>
|
||||
<script type="text/javascript" src="static/assets/org.js"></script>
|
||||
|
||||
Reference in New Issue
Block a user