Add Eagle Icon for Khoj to Web, Emacs Interfaces and Readme

This commit is contained in:
Debanjum Singh Solanky 2022-07-29 17:50:29 +04:00
parent 8290ef2a60
commit 02ca2c05a1
3 changed files with 4 additions and 5 deletions

View file

@ -1,8 +1,7 @@
# Khoj 🦅
![](https://github.com/debanjum/khoj/actions/workflows/test.yml/badge.svg)
![](https://github.com/debanjum/khoj/actions/workflows/build.yml/badge.svg)
# Khoj
*A natural language search engine for your personal notes, transactions and images*
## Table of Contents

View file

@ -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))

View file

@ -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>