mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-07 13:23:15 +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*
|
*A natural language search engine for your personal notes, transactions and images*
|
||||||
|
|
||||||
## Table of Contents
|
## Table of Contents
|
||||||
|
|||||||
@@ -63,13 +63,12 @@
|
|||||||
(defvar khoj--minibuffer-window nil
|
(defvar khoj--minibuffer-window nil
|
||||||
"Minibuffer window being used by user to enter query.")
|
"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.")
|
"Query prompt shown to user in the minibuffer.")
|
||||||
|
|
||||||
(defvar khoj--search-type "org"
|
(defvar khoj--search-type "org"
|
||||||
"The type of content to perform search on.")
|
"The type of content to perform search on.")
|
||||||
|
|
||||||
|
|
||||||
(defun khoj--extract-entries-as-markdown (json-response query)
|
(defun khoj--extract-entries-as-markdown (json-response query)
|
||||||
"Convert json response from API to markdown entries"
|
"Convert json response from API to markdown entries"
|
||||||
;; remove leading (, ) or SPC from extracted entries string
|
;; remove leading (, ) or SPC from extracted entries string
|
||||||
@@ -237,7 +236,7 @@
|
|||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun khoj-simple (query)
|
(defun khoj-simple (query)
|
||||||
"Natural Search for QUERY in your personal notes, transactions, music and images using Khoj"
|
"Natural Search for QUERY in your personal notes, transactions, music and images using Khoj"
|
||||||
(interactive "sQuery: ")
|
(interactive "s🦅Khoj: ")
|
||||||
(let* ((rerank "true")
|
(let* ((rerank "true")
|
||||||
(default-type (khoj--buffer-name-to-search-type (buffer-name)))
|
(default-type (khoj--buffer-name-to-search-type (buffer-name)))
|
||||||
(search-type (completing-read "Type: " '("org" "markdown" "ledger" "music" "image") nil t default-type))
|
(search-type (completing-read "Type: " '("org" "markdown" "ledger" "music" "image") nil t default-type))
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<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>
|
<title>Khoj</title>
|
||||||
</head>
|
</head>
|
||||||
<script type="text/javascript" src="static/assets/org.js"></script>
|
<script type="text/javascript" src="static/assets/org.js"></script>
|
||||||
|
|||||||
Reference in New Issue
Block a user