- 分析时间范围: 2025-06-21 至 2025-07-21 (最近一个月)
- 仓库: gemini-cli
- 当前分支: main
虽然最近一周(2025-07-14 至 2025-07-21)没有新的提交,但仓库在过去一个月内保持着活跃的开发状态。
| package dev.fankai; | |
| import org.springframework.beans.factory.annotation.Autowired; | |
| import org.springframework.context.annotation.Bean; | |
| import org.springframework.context.annotation.Configuration; | |
| import org.springframework.context.annotation.DependsOn; | |
| import org.springframework.stereotype.Service; | |
| import javax.annotation.PostConstruct; |
| #!/usr/bin/env python3 | |
| # 需要安装一些依赖 pip3 install openai langchain chromadb pypdf sentence_transformers | |
| from langchain.chat_models import ChatOpenAI | |
| from langchain.embeddings.openai import OpenAIEmbeddings | |
| from langchain.embeddings import HuggingFaceEmbeddings | |
| from langchain.vectorstores import Chroma | |
| from langchain.text_splitter import CharacterTextSplitter, RecursiveCharacterTextSplitter | |
| from langchain.document_loaders import TextLoader, PyPDFLoader | |
| from langchain.chains.retrieval_qa.base import RetrievalQA |
| // ==UserScript== | |
| // @name Sync Twitter To Flomo | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.4 | |
| // @description create a flomo note of current twitter thread, need flomo api | |
| // @author fankaidev | |
| // @match https://x.com/* | |
| // @connect flomoapp.com | |
| // @grant GM_xmlhttpRequest | |
| // @license MIT |
| // ==UserScript== | |
| // @name Omnivore Everything | |
| // @namespace Violentmonkey Scripts | |
| // @version 0.8 | |
| // @description save all browsing history to Omnivore | |
| // @author fankaidev | |
| // @match *://*/* | |
| // @exclude *://omnivore.app/* | |
| // @exclude *://cubox.pro/* | |
| // @exclude *://readwise.io/* |
| #!/usr/bin/env python3 | |
| import sqlite3 | |
| import json | |
| import datetime | |
| from pathlib import Path | |
| import sys | |
| def get_chat_data_from_db(db_path) -> list[dict]: | |
| """Extract chat data from the SQLite database""" |
| [] 修复所有的 C901 错误 | |
| [] 检查 project_data 和 project_content 的设计 |
| # 代码规范 | |
| [] 修复所有的 C901 错误 | |
| [] 为主要流程添加 e2e test | |
| [] 优化 e2e test 框架,可以使用声明式来定义 test | |
| # 架构设计 | |
| [] 检查 project_data 和 project_content 的设计 | |
| [] import linter 的检查扩充到 domain 之外 |