├── .eslintrc.json ├── bun.lockb ├── image.png ├── src ├── app │ ├── favicon.ico │ ├── commit-mono.woff2 │ ├── loading.tsx │ ├── page.tsx │ ├── layout.tsx │ ├── globals.css │ ├── icon.svg │ └── home.tsx ├── components │ ├── home │ │ ├── spacer.tsx │ │ ├── entries-container.tsx │ │ ├── container.tsx │ │ ├── footer.tsx │ │ ├── ai-button.tsx │ │ ├── day-progress.tsx │ │ ├── entry.tsx │ │ ├── ai-chat.tsx │ │ ├── entry-dialog.tsx │ │ └── header.tsx │ ├── theme-provider.tsx │ ├── current-time.tsx │ └── ui │ │ ├── theme-toggle.tsx │ │ ├── button.tsx │ │ ├── dialog.tsx │ │ ├── select.tsx │ │ └── dropdown-menu.tsx ├── lib │ ├── typings.d.ts │ ├── index-db.ts │ ├── utils.ts │ ├── llm.ts │ └── langchain.ts └── hooks │ └── use-local-storage.ts ├── postcss.config.js ├── kirimase.config.json ├── components.json ├── .gitignore ├── next.config.mjs ├── tsconfig.json ├── package.json ├── README.md ├── public └── kisahari.svg └── tailwind.config.ts /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "next/core-web-vitals" 3 | } 4 | -------------------------------------------------------------------------------- /bun.lockb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xN1/kisahari/HEAD/bun.lockb -------------------------------------------------------------------------------- /image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xN1/kisahari/HEAD/image.png -------------------------------------------------------------------------------- /src/app/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xN1/kisahari/HEAD/src/app/favicon.ico -------------------------------------------------------------------------------- /src/app/commit-mono.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/0xN1/kisahari/HEAD/src/app/commit-mono.woff2 -------------------------------------------------------------------------------- /src/components/home/spacer.tsx: -------------------------------------------------------------------------------- 1 | export const Spacer = () =>
; 2 | -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | plugins: { 3 | tailwindcss: {}, 4 | autoprefixer: {}, 5 | }, 6 | }; 7 | -------------------------------------------------------------------------------- /src/lib/typings.d.ts: -------------------------------------------------------------------------------- 1 | type JournalEntry = { 2 | content: string; 3 | created: string; 4 | id: number; 5 | title: string; 6 | tldr: string; 7 | updated: string; 8 | }; 9 | -------------------------------------------------------------------------------- /kirimase.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "hasSrc": true, 3 | "packages": [ 4 | "shadcn-ui" 5 | ], 6 | "preferredPackageManager": "bun", 7 | "t3": false, 8 | "alias": "@", 9 | "rootPath": "src/", 10 | "componentLib": "shadcn-ui", 11 | "auth": null 12 | } -------------------------------------------------------------------------------- /src/lib/index-db.ts: -------------------------------------------------------------------------------- 1 | import Dexie from "dexie"; 2 | 3 | const db = new Dexie("kisahariDB"); 4 | db.version(1).stores({ 5 | entries: "++id, title , content, tldr, created, updated", 6 | }); 7 | 8 | const entries = db.table("entries"); 9 | 10 | export { db, entries }; 11 | -------------------------------------------------------------------------------- /src/app/loading.tsx: -------------------------------------------------------------------------------- 1 | import Container from "@/components/home/container"; 2 | 3 | export default function Loading() { 4 | return ( 5 |143 | If you are not seeing any models for ollama, please serve your 144 | ollama with the following command: 145 |
146 |147 | $ OLLAMA_HOST=0.0.0.0 ollama serve 148 |149 |