Embed Luckysheet (spreadsheet) into Logseq.

Overview

logseq-plugin-luckysheet

在 Logseq 中嵌入电子表格 Luckysheet。你也可以用它来维护一张 markdown 表格。

Embed Luckysheet (spreadsheet) into Logseq. You can also use it to maintain a markdown table.

使用展示 (Usage)

demo

使用示例 (Examples)

{{renderer :luckysheet, workbook name}}

免责声明 (Disclaimer)

本插件中使用的表格是第三方的开源软件 Luckysheet,非插件作者维护。插件作者不对由此带来的可能数据丢失或错误负任何直接或间接责任。

The spreadsheet used in this plugin is a third party open source software Luckysheet and is not maintained by the plugin author. The plugin author is not responsible, directly or indirectly, for any possible loss of data or errors arising therefrom.

注意事项 (Caution)

受插件能力所限,目前表格数据都存储在.logseq/storages文件夹下,没有与用户 graph 存储在一起,建议在做备份时,再额外备份下.logseq/storages

Due to plugin limitations, workbook data is currently stored under .logseq/storages folder, not part of the user's graph. It is recommended to also make regular backups of the .logseq/storages folder.

Comments
  • Feature Request: Persist to/Read from CSV/TSV

    Feature Request: Persist to/Read from CSV/TSV

    Hi @sethyuan, thanks a lot for this plugin!

    One way to approach #10 and solve another great use case is to persist the data locally in the assets folder as CSV.

    This is very consistent with how logseq handles non-text datatypes

    • drawings are persisted in the draws subfolder
    • images are persisted in the assets subfolder
    • pdfs are persisted in the assets subfolder

    Additionally this also enables a lot of other benefits, which I'd be most excited about

    • Data is not locked into the serialization format used by luckysheet
    • Much easier to handle larger tables in a dedicated table file format than markdown
    • Edit data in a dedicated spreadsheet software, view in logseq
    • Use tables as databases and reuse them across applications - e.g. do data engineering in a jupyter notebook, then read/view/comment in logseq
    • use command-line utilities for quick data engineering - xsv, visidata, cut, ....

    One option to implement:

    Save button persists to disk in asset folder, vs storing in markdown This could be configurable in the plugin settings

    opened by yingzhu146 15
  • <br /> doesn't show properly in heading row after MD generation


    doesn't show properly in heading row after MD generation

    First of all, I love this plugin!

    Even through <br /> is correct markdown, it shows as is in a logseq block after exporting luckysheet to markdown.

    This only happens if the table heading has <br /> but works ok if the a normal table row has it.

    Instead, if I use [:br], it works fine and a new line is correctly rendered as the heading row in the logseq table block

    Thank you!

    opened by sutram 11
  • Super cool idea! But it doesn't sync to other machines.

    Super cool idea! But it doesn't sync to other machines.

    Is there no way for the plugin to save the worksheet data in the logseq graph folder? I see that it saves it in $HOME/.logseq/storages/ but since that is not synced across all machines (and probably won't be synced by Logseq's new sync service) it makes the plugin less useful.

    opened by garyo 8
  • Is it possible to auto rename the source file?

    Is it possible to auto rename the source file?

    (First, it's an incredible plugin, thanks for your amazing work!)

    • As the question says is it possible to automatically rename the source file?
      • I know I can change the name in the UI, but the source file keeps the same and I didn't find where it store the name information.
      • And I found that I can manually change it without losing my data, but once I make further modifications on the sheet, it will create a new file with the original name.
    • I want to make sure all the stored files are at use, otherwise they can be deleted safely.
    opened by Konfido 7
  • Data loss

    Data loss

    Hi! I've happily been using the Luckysheet Logseq plugin, which I like very much apart from one thing: this plugin tends to lose data.

    I understand that for performance reasons it writes to temporary files and syncs with the child block markdown only on the next app start, but this process is not entirely reliable and I have lost hours of work on a few occasions. Plus I sync my Logseq graph on multiple devices, and Luckysheets aren't part of that sync unless I close and reopen Logseq everytime, which is cumbersome and slow.

    How about a "save" button that syncs with the child block markdown when clicked? This way the plugin keeps its current performance profile, and would also provide data safety.

    opened by ncadou 6
  • 安装插件后,命令菜单里没有 luckysheet,为什么?

    安装插件后,命令菜单里没有 luckysheet,为什么?

    从logseq 0.6.0版本开始,我在电脑上装了luckysheet,尝试很多版本(无论是logseq还是 lucksheet 官网每发布一个新版本,我都会尝试安装一次,希望能用上luckysheet),logseq命令菜单就是没有lucksheet。我的系统是window10,logseq0.6.7,luckysheet0.6.1。 图片 图片 图片

    opened by caidong85 5
  • 保存的表格信息需要如何直接打开呢

    保存的表格信息需要如何直接打开呢

    根据说明,我在'.logseq\storages\logseq-luckysheet'中找到的保存的表格文件,文件被保存为类似‘workbook-9f303b8837ccde59ad8016a901a3e8e1b874643e’形式。

    1. 尝试过增加文件后缀xlsx,打开失败。
    2. luckysheet项目提供的在线工具仅支持xlsx文件。

    请问有没有方法可以读取插件自动保存的表格文件?感谢您的插件,给笔记带来了很棒的体验!!!

    opened by miaozjs 2
  • `数据读取错误!` - Data loading error caused by wrong substring index

    `数据读取错误!` - Data loading error caused by wrong substring index

    Hi,

    Thank you very much for the plugin!

    I use the desktop version of Logseq 0.75 on macOS.

    After a reindex I get the following error: 数据读取错误!

    When I printed the error that comes out of the exception (document.getElementById("sheet").innerHTML = '<p class="error">数据读取错误!' + err + '</p>' ;) I go the following:

    SyntaxError: Unexpected token ` in JSON at position 69265
    

    The issue is in this line:

    JSON.parse(firstChild.content.substring(7, firstChild.content.length - 3)),
    

    I'm not sure whether it's a CR/LF/encoding issue, but for me the correct index is not -3, but -4.

    I locally replaced the line with the issue with the following to patch the issue:

    JSON.parse(firstChild.content.substring(7, firstChild.content.lastIndexOf(']') + 1)),
    
    opened by darioceccoli 1
Releases(v0.9.2)
Owner
Seth Yuan
Seth Yuan
This is a Google Apps Script library for parsing the form object from HTML form and appending the submitted values to the Spreadsheet.

HtmlFormApp Overview This is a Google Apps Script library for parsing the form object from HTML form and appending the submitted values to the Spreads

Kanshi TANAIKE 18 Oct 23, 2022
Jspreadsheet is a lightweight vanilla javascript plugin to create amazing web-based interactive tables and spreadsheets compatible with other spreadsheet software.

Jspreadsheet CE v4: The JavaScript spreadsheet Jexcel CE has been renamed to Jspreadsheet CE News Important: Please import jspreadsheet.css (jexcel.cs

null 6.2k Dec 19, 2022
Quick spreadsheet viewer in vanilla JS

Heihō Quick spreadsheet viewer in vanilla JS What it does ? The heiho.js script is quick and simple spreadsheet viewer. It is meant to preview the con

Kaloyan Tsvetkov 18 Sep 8, 2022
A simple class to embed a panoramic view in a website from six pictures

htmlcubemap A simple class to embed a panoramic view in a website from six pictures. It uses CSS with transforms. Demo here Usage Just call from javas

Javi Agenjo 6 Dec 17, 2022
A cloudflare worker to use the user-agent for ~~rickrolling~~ without a discord embed

nextcord.gay A cloudflare worker to use the user-agent for rickrolling without a discord embed Build npm run build Find the output in ./dist/worker.mj

Oliver Wilkes 10 Oct 4, 2022
A CLI tool to embed interactive PUML diagrams to your github markdown files.

puml-for-markdown Simple CLI Usage Just run puml-for-markdown in any directory where you have markdown files and it will render links to PlantUML file

Daniel 208 Jan 3, 2023
A custom element that aims to make it easier to embed Spring '83 boards

<spring-board> element A custom element that makes it simple to embed Spring '83 boards! Usage If you are using <spring-board> in a client-side framew

Ryan Murphy 11 Jan 1, 2023
Embed panorama photos on your website with Panorama Viewer

#Panorama Viewer by Pete R. Embed interactive Panorama Pictures on your site with this simple plugin. Created by Pete R., Founder of Travelistly and B

Pete R. 474 Oct 8, 2022
Embed Twitter videos, polls, and more on Discord and Telegram

FixTweet (formerly pxTwitter) Embed Twitter videos, polls, translations, & more on Discord and Telegram! Inspired by RobinUniverse's TwitFix, but rewr

dangered wolf 423 Jan 2, 2023
Shortcode to embed proteins and trajectories with Mol*

Molstar (Mol*) Extension for Quarto This extension provides shortcodes for molstar in quarto. Molstar can display macro-molecules such as proteins as

Jannik Buhr 21 Nov 17, 2022
Embed Twitter videos, polls, and more on Discord and Telegram

FixTweet Embed Twitter videos, polls, translations, & more on Discord and Telegram! Inspired by Robin Universe's TwitFix, rewritten in TypeScript as a

dangered wolf 160 Aug 17, 2022
Embed your NFT art anywhere, generate preview for oldschool platforms

Embed.Art Introduction Platform like twitter and facebook use meta tags to display preview when sharing url. The format these meta tags support are li

Ronan Sandford 12 Sep 26, 2022
tools and plugins for logseq

logtools tools and plugins for logseq logtools-css-productivitypack my css mods for Kanban/columns view (#.v-kanban), Einsihower Matrix (#.v-einsenhow

null 126 Jan 2, 2023
Weekly, Monthly and Yearly notes in Logseq!

Periodic Notes for Logseq Currently is very early stages. My roadmap for releasing on the Logseq marketplace can view viewed here Functionality Curren

Brendon 12 Dec 29, 2022
A logseq plugin to extract tweets. Optionally tag the tweet's author as well.

Logseq Twitter Extractor Plugin If this plugin helps you, I'd really appreciate your support. You can buy me a coffee here. A quick utility to parse a

null 17 Nov 17, 2022
Migrate unfinished tasks to today, Logseq plugin

Unfinished-business Unfinished Business Because the day may be over, but your business isn't View Demo · Report Bug · Request Feature This plugin migr

Alex 23 Nov 16, 2022
logseq custom.js and custom.css utilities : resize query table columns, hide namespaces...

logseq-custom-files custom.js and custom.css utilities for Logseq. current version v20220331 query table view : add handles on the query table headers

null 44 Dec 7, 2022
A simple gpt-3 integration with Logseq

Readme Using GPT-3 in [[logseq]] is actually remarkably easy. The folks over at OpenAI have built a really powerful model with pretty good documentati

null 26 Jul 19, 2022