A good-looking Zotero add-on.

Overview

Chartero

简介

记录Zotero内置阅读器的浏览历史并通过各种图形呈现出来,方便读者对过去一段时间内学习过程的复盘与回顾。

使用说明

首选项参数

  • 扫描周期:阅读时记录页码的时间间隔,推荐1秒
  • 保存周期:保存历史数据的时间间隔,过小会导致卡顿

仪表盘

选择文献条目后,右侧边栏将出现“仪表盘”选项卡。 若该条目存在历史记录,则展示阅读进度与各页面的阅读时间。

数据存储位置

浏览历史的原始数据以JSON格式保存在一条笔记条目中, 你可以移动他,但不要更改笔记的内容。

当Chartero无法自动识别到该条目时,请手动获取笔记的ID并保存至 C盘的Zotero首选项中。

教程或文档

  1. 插件安装
  2. 插件开发

隐私

您的浏览历史将以明文形式存储在一个笔记条目中,并可随Zotero数据库同步至云端, 但Chartero插件本身不存在任何访问网络的行为。

TODO

bugs

  1. 笔记里原有的数据会覆盖第一次保存前的数据(setReadingData
  2. 改变窗口宽度时侧边栏不能同时缩放(最大化还原后)
  3. 日期时长趋势偶尔不显示当天记录
  4. note item右键作为数据/合并

features

  1. 不同标签的条目数与阅读时长饼图
  2. 文件库的甘特图
  3. 文件库阅读时长top10
  4. skyline
  5. 平滑滚动条

参与贡献

欢迎PR!

软件架构

  • 本插件采用纯js编写,无需搭建任何开发环境
  • 使用开源脚本HighCharts进行各种图表的绘制
  • 采用了jQuery库简化代码

常用调试代码

  • 获取当前选择的条目:
const items = ZoteroPane.getSelectedItems();
  • 根据当前打开的标签页获取阅读器对象:
Zotero.Reader.getByTabID(Zotero_Tabs.selectedID);
  • 动态添加阅读器侧边栏的选项卡:
const cont = document.getElementById(`${Zotero_Tabs.selectedID}-context`);
const box = cont.querySelector("tabbox");
box.tabs.append(tab);
box.tabpanels.append(panel);
  • 修改条目类型:
var item = new Zotero.Item('computerProgram');
item.setType(Zotero.ItemTypes.getID('note'));
  • 获取某行条目(load from row?)
Zotero.Items.get(ZoteroPane.itemsView.getRow(2).id)
  • tree
 <tree enableColumnDrag="true" flex="1" id="chartero-data-tree">
    <treecols>
        <treecol id="chartero-data-treecol-k" flex="2" label="" primary="true"/>
        <split class="tree-splitter"/>
        <treecol id="chartero-data-treecol-v" flex="1" label="阅读进度"/>
    </treecols>
    <treechildren>
        <treeitem container="true">
            <treerow>
                <treecell label="Bo"/>
                <treecell label="Bo"/>
            </treerow>
            <treechildren>
        <treeitem container="true">
            <treerow>
                <treecell label="Bo"/>
                <treecell label="Carpenter" />
            </treerow>
            <treechildren>
            </treechildren>
        </treeitem>
        <treeitem container="true">
            <treerow>
                <treecell label="Bo"/>
                <treecell label="Carpenter" />
            </treerow>
            <treechildren>
            </treechildren>
        </treeitem>
            </treechildren>
        </treeitem>
    </treechildren>
</tree>

致谢

windingwind同学是 pdf-translatebetter-notes 等热门插件的作者,他在本插件的开发过程中提供了巨大的帮助。

Comments
  • Reading progress not showing in synchronized computers

    Reading progress not showing in synchronized computers

    Chartero worked well in my office computer. However, the reading progress was now showing in another synchronized computer (nevertheless, I could find the synchronized Chartero json files in the library). But when I read a new item in the new computer, the progress did show properly. Did I miss something? Is there any way to fix? Many thanks!

    opened by atmomomo 2
  • Chartero doesn't load under English interface

    Chartero doesn't load under English interface

    Hi there,

    Thanks very much for the very useful plugin. I just want to report that Chartero can't load on my Linux machine, if I use zotero under the English interface; Everything works perfectly if zotero is set to Chinese. I'm not sure if anyone else meets the same situation.

    Regards,

    (I'm posting in English simply in the hope that Chartero will reach a broader international community)

    question 
    opened by chaozg 2
  • Chartero安装后导致Mac版其他插件(Zotero IF Pro Max)的联网翻译功能失效

    Chartero安装后导致Mac版其他插件(Zotero IF Pro Max)的联网翻译功能失效

    您好,我在用Chartero的时候,感受到了Chartero插件十分美观,但同时我也遇到了一个问题:在安装Chartero后我Mac版的Zotero IF Pro Max插件的翻译功能显示无法连接服务器(如下图所示),但Windows版的依然可以翻译,请问是什么状况?后我又卸载了Chartero插件,翻译功能又可以用了。 截屏2022-10-22 12 41 24 截屏2022-10-22 12 41 42

    opened by hxqiay 2
  • Many figs could not be recognized and displayed normally in

    Many figs could not be recognized and displayed normally in "All Images"

    Using chartero's all images function in zotero6' s default pdf reader, we found that many figures could not be recognized and displayed normally (non-scanned pdf).

    duplicate 
    opened by sbkk000 1
  • 时间线视图的优化-增加进度排序功能

    时间线视图的优化-增加进度排序功能

    时间线有个排序功能的话,比如

    1. 最近阅读
    2. 阅读总时长
    3. 阅读进度百分比从高到低

    这样子对于自己的进度更有数一些,现在的时间线呈现比较分散 视图最底下的选取框很好用,但是如果选取最近一周 image 就会发生时间线列表里有很漫长的一段空白 image 一些最近没读过或者确实进了库里也没有打开过的条目会导致整个视图不太美观

    opened by Arti-Ir 0
  • 小bug及小建议

    小bug及小建议

    开发者您好,您开发的插件我很喜欢,并且很有意义!以下是一些小bug或者小建议,希望能够采纳: 1.存在某些地方的汉化不好; 微信截图_20221210002823

    微信截图_20221210003138 微信截图_20230102005631 微信截图_20230102004904 微信截图_20230102005303

    2.如果没有阅读的分类,希望不要显示出来; 微信截图_20221210003138

    3.希望时间统计可以换个单位,秒数统计给别人的感觉并不直观;可以采用双纵坐标的形式,如果是每一天的统计的话,可以以时为单位,如果每小时的统计数据的话可以以分为单位。 微信截图_20230102004809

    微信截图_20221210003801 微信截图_20221210003836

    4.希望在不同设备上面的插件可以读取同一个数据统计文件,目前是虽然把数据文件同步过去之后,但在另外一个设备上是读取不了数据的。(之后版本可以提供两个数据文件的合并功能。) 微信截图_20230102010220

    微信截图_20230102010345 enhancement 
    opened by xiaojianjian-huang 2
  • 时间线视图的优化-增加进度排序功能

    时间线视图的优化-增加进度排序功能

    时间线有个排序功能的话,比如

    1. 最近阅读
    2. 阅读总时长
    3. 阅读进度百分比从高到低

    这样子对于自己的进度更有数一些,现在的时间线呈现比较分散 视图最底下的选取框很好用,但是如果选取最近一周 image 就会发生时间线列表里有很漫长的一段空白 image 一些最近没读过或者确实进了库里也没有打开过的条目会导致整个视图不太美观

    enhancement 
    opened by Arti-Ir 2
  • 产生的笔记条目太长影响zotero同步

    产生的笔记条目太长影响zotero同步

    Chartero条目下产生的笔记条目太长影响zotero同步。zotero报错内容如下:

    注释“{"lib":1,"items":{"7MGR5FZ9":{"n":41,"p"…”太长,无法同步。 缩短便笺并再次同步。 请问作者有没有办法解决?

    bug 
    opened by huphGit 11
Releases(1.3.2)
Obsidian.md plugin to integrate with Zotero, create literature notes and insert citations from a Zotero library.

Obsidian Zotero Plugin Obsidian.md plugin to integrate with Zotero, create literature notes and insert citations from a Zotero library. Intro How to u

null 156 Jan 6, 2023
A good looking help command made with discord.js with select menus. Works with prefix and slash commands too!

fancy-help-command A good looking help command made with discord.js with select menus. Works with prefix and slash commands too! Dependencies: Select

LunarCodes 11 Dec 12, 2022
Hackathon for Social Good 2022 and use your superpowers to create a solution for the social good.

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Laura Diaz 3 Jun 27, 2022
A Very Good Documentation Site created by the Very Good Ventures Team 🦄

Very Good Docs Site Developed with ?? by Very Good Ventures ?? A Very Good Docs Site created by the Very Good Ventures Team. Generated by the Very Goo

Very Good Open Source 8 Nov 2, 2022
PDF translation add-on for Zotero 6

Zotero PDF Translate This is an add-on for Zotero 6. It provides PDF translation for Zotero's built-in PDF reader. Quick Start Guide Install Download

null 2.1k Jan 8, 2023
Zotero translator 优化

1. Zotero translators 中文维护小组-开智分组 2. 背景 响应阳老师剥削机器而非剥削人,为国内优质信息源新增translator,利用好工具提高效率 3. 安装 3.1. zotero安装 参考:Zotero(1):文献管理软件Zotero基础及进阶示范 - 阳志平的网志 3.

氦客船长 56 Dec 24, 2022
A plugin that will automatically download PDFs of zotero items from sci-hub

Zotero Scihub This is an add-on for Zotero and Juris-M that enables automatic download of PDFs for items with a DOI. Quick Start Guide Install Downloa

Ethan Willis 1.9k Jan 8, 2023
Better looking pdf for lovely rustacean <3

The Rust Programming Language (TRPL) PDF Better looking pdf in your finger tips. Please find the latest version of pdf in release tab. Contributing I

Shirshak 76 Dec 29, 2022
This is an app that gives you a mood by looking at the weather.

Weather-to-mood It is a basic application which shows user weather and date and by looking at these information it gives a mood. WeatherMoodApp This p

Büşra Akbulut 4 Jun 30, 2022
A note enhancement & full knowledge management workflow for Zotero.

Knowledge for Zotero A full knowledge management workflow in Zotero. User Guide(EN) | 用户指引(中文) Review.Writing.Best.Practice.mp4 Features Note as you g

null 1.3k Jan 9, 2023
Everything about note management. All in Zotero.

Zotero Better Notes Everything about note management. All in Zotero. User Guide(EN) | 用户指引(中文) All in Zotero: Best Note Practice Review.Writing.Best.P

null 1.3k Jan 9, 2023
A website that lets you create legit-looking GitHub links that rickroll the visitor.

microsoftgithub.com, a.k.a. NotHub A website that lets you create legit-looking GitHub links that rickroll the visitor. Usage Just replace github.com

Ash 12 Dec 23, 2022
⚡ Archive of all Zotero Translators co-created by participants of the Information Analysis course in 2018 to date.

awesome-translators 1. awesome-translators 维护小组 1.1 Translators 更新流程 1.2 Zotero 安装流程 1.3 Zotero 进阶资料 2. Translators 2.1 Translators 总览表 2.2 Translator

开智学堂 99 Dec 30, 2022
A clean-looking, secure, MySQL/MariaDB remote connection terminal made in NodeJS

NodeJS MySQL/MariaDB Terminal NodeJS MySQL/MariaDB Terminal is a remote terminal for MySQL/MariaDB databases, which works in the same way as the offic

TeknoSenpai 5 Jun 24, 2022
Planning a getaway with family or friends and looking for a trip planner app to help you figure out the logistics?

Never-Wavering-Wayfaring-Wanderlust-Adventure-Planner Planning a getaway with family or friends and looking for a trip planner app to help you figure

Michelle Blackwell 3 Jun 15, 2022
PDF Preview for Zotero.

Zotero PDF Preview Preview PDF attachments in the library view. Fast & easy. Do not require any third-party softwares. Quick Start Guide Install Downl

null 352 Jan 4, 2023
Don't waste time looking at what you are typing, spend time thinking about the meaning.

LETA Don't waste time looking at what you are typing, spend time thinking about the meaning. About You will be able to: Practice touch typing Pick bes

Paragoda 13 Dec 15, 2022
Simple modern-looking event calendar 📅💜

evo-calendar Simple Modern-looking Event Calendar ?? Demo: https://edlynvillegas.github.io/evo-calendar/ ?? Features: Flexible and fully customizable

Edlyn Villegas 144 Jan 6, 2023
An addon/plugin template for Zotero.

Zotero Addon Template This is an addon/plugin template for Zotero. Documentation(Chinese, provides English translation) ?? You are currently in bootst

null 36 Jan 2, 2023