Skip to content

Commit

Permalink
更新readme
Browse files Browse the repository at this point in the history
  • Loading branch information
nenodev committed Apr 22, 2021
1 parent ccc0ebb commit 7943cd3
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 20 deletions.
14 changes: 5 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,14 @@ NENO
=============

仿照[浮墨](https://flomoapp.com/)的开源版本

- svelte+tailwindcss构建的PWA应用
- 基本功能上与[浮墨](https://flomoapp.com/)保持相同
- 后端地址[Neno-HW-serverless](https://github.com/Mran/Neno-HW-serverless),使用NodeJs构建.
- 后端支持华为云的函数工作流(serverless),可一键部署,每日1000次免费调用,超出需绑定备案过的域名才能享受免费额度
- 图库使用七牛云,免费的10Gb空间,需绑定域名
- 数据库MongoDB,可以使用[https://cloud.mongodb.com/](https://cloud.mongodb.com/)的免费500 Mb的存储空间
- 理论上买一个域名即可免费私有化部署.

[马上体验](http://neno.topmini.top/)
- **使用github进行存储你的所有数据**
- **支持完全离线使用**
- **支持完整版数据导入导出**


[马上体验](https://neno.pages.dev/)

### 前端部署方式

Expand All @@ -36,8 +31,9 @@ dist 目录下面为构建好的前端页面

### Todo

- [x] 分享出图片
- [x] 分享出图片
- [X] 完全基于浏览器的离线版本
- [X] 使用github进行存储
- [ ] 每日回顾
- [ ] 随机漫步
- [ ] go版本的后端
Expand Down
2 changes: 1 addition & 1 deletion dist/main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main.js.map

Large diffs are not rendered by default.

21 changes: 12 additions & 9 deletions src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -49,19 +49,22 @@
let index = 0
setInterval(async () => {
console.log(tasking)
if ($githubStore.access_token != "" && $githubStore.repoName != "") {
if (!tasking) {
tasking = true
let taskData = (await popTaskToIndexedDB()).body
console.log(taskData)
for (const item of taskData) {
await doTask(item.data)
await deleteTaskToIndexedDB(item._id)
}
tasking = false
if (!tasking) {
tasking = true
let taskData = (await popTaskToIndexedDB()).body
console.log(taskData)
for (const item of taskData) {
await doTask(item.data)
await deleteTaskToIndexedDB(item._id)
}
tasking = false
}
}
}, 5000)
});
githubStore.subscribe((value) => {
Expand Down

0 comments on commit 7943cd3

Please sign in to comment.