https://github.com/samlior/retriever
Retriever for anything!
https://github.com/samlior/retriever
electron sequelize sqlite sqlite3
Last synced: 2 months ago
JSON representation
Retriever for anything!
- Host: GitHub
- URL: https://github.com/samlior/retriever
- Owner: samlior
- License: mit
- Created: 2021-02-23T08:42:24.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-28T11:30:10.000Z (over 5 years ago)
- Last Synced: 2025-03-30T12:13:26.242Z (about 1 year ago)
- Topics: electron, sequelize, sqlite, sqlite3
- Language: TypeScript
- Homepage:
- Size: 1.16 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Overview
基于sqlite的检索工具
+ 可对本地的sqlite数据库检索, 并将数据持久化
+ 对检索条件进行GUI结构化, 适用于不会写sql语句的用户
+ 数据的结构可通过fieds.json定义
- windows下fields.json的路径为当前目录
- macOS下fields.json的路径为/Users/xxx/.retriever/fields.json
- 运行前请确保fields.json存在
- 如fields.json中的数据库结构更改, 请删除旧的数据库文件后重新导入
+ 当fields.json中admin为true时开启管理员模式, 可以增删改任何数据

# Build
```
git clone https://github.com/samlior/retriever.git
cd retriever
cnpm i
cd page-main
yarn
yarn build
cd ../page-add-conditon
yarn
yarn build
cd ../page-update
yarn
yarn build
cd ..
npm start
```
为什么用cnpm安装包呢? 因为sqlite3这个库用npm安装不了-_-, 有懂的大佬还请指教