GithubHelp home page GithubHelp logo

add export capability about pile HOT 15 OPEN

pcause avatar pcause commented on June 14, 2024
add export capability

from pile.

Comments (15)

imfing avatar imfing commented on June 14, 2024

@pcause Hi, thanks.
It's a nice feature to have the page exported to other formats. Electron has built-in API, kinda like the print-to-pdf you used in Chrome/Firefox. It's easy to add.
But I'm still considering the details of the exported information and how the exported document means to our work. Could you describe a detailed scene where the exported sections/markdown could be further exploited?
Currently, the note and todo sections are reasonable to be exported as markdown.

from pile.

pcause avatar pcause commented on June 14, 2024

Thanks for the reply. markdown can be converted to many other formats, for example, HTML, where it can be posted to a web site. Markdown can also be edited by other tools and the pile board can be turned into a report or other document. For example, I might use notes to create an outline. Put links between notes that have pointers to information. I get it exported as markdown and then write the report. I could go on but those are a few examples.

BTW, why the issue with links not being exported to markdown? Seems pretty straightforward as markdown supports links. if i use the markdown document somewhere the link isn't available it is understandable if the link doesn't work.

from pile.

imfing avatar imfing commented on June 14, 2024

Thanks.
I get your point~ 😃
The exporting functionality will be added in the future releases.

And if you have more ideas on this, just comment on this issue.

from pile.

pcause avatar pcause commented on June 14, 2024

one minor tweak to my idea - allow a set of boards to be exported to a single markdown document. example : each board is a chapter of a report. or each board might be data about a feature of a set of features for a sprint being checked into a code tree.

from pile.

pcause avatar pcause commented on June 14, 2024

another one (sorry, but there is such a great base here): export the json for a board(s) and allow it to be imported into another Board.

from pile.

imfing avatar imfing commented on June 14, 2024

I'll implement exporting one board first. 😅 You can append them manually.
Export&import boards is much easier. Perhaps the json step could be skipped, just do the moving/copying inside the app.

from pile.

pcause avatar pcause commented on June 14, 2024

wonder if it might be a good idea to have each board be a separate json file. they can each be named with the board name and on startup you read the db files and create tab names from file names, when you open a tab you read the file. when you switch tabs you write out state of board being left.

this allows for boards to be larger and also avoids risk of an issue wiping out all boards.

might move these into a subdirectory of the pile store location.

from pile.

imfing avatar imfing commented on June 14, 2024

The intuition is good.
However, it would be difficult to determine the order of these separate json files.
Currently, the size of the stored data is limited. And you can easily back up by copying the db json file.

from pile.

pcause avatar pcause commented on June 14, 2024

2 options:

  • have a settings.json. users defined order plus other overall settings go here.

  • use the last modified time to define the order.

from pile.

imfing avatar imfing commented on June 14, 2024

Found something interesting https://www.notion.so/product 😃

from pile.

pcause avatar pcause commented on June 14, 2024

yes, it is. but I am liking Pile and see potential, particularly as you are open source.

one other thought on multiple files. How about just a "file Open/Save/Save As" capability. Use the same json just let the user pick which to open and then save/save as. This should be pretty easy. The issue is which to open on startup and you can likely use last modified time or put something in preferences file. BTW, what is the file size limit?

from pile.

pcause avatar pcause commented on June 14, 2024

actually, another thought is perhaps to use https://pouchdb.com/ to store the data. This can be a local database, but then provides the future capability to sync to a cloud based clouchdb without a huge amount of work. that would be really interesting.

from pile.

pcause avatar pcause commented on June 14, 2024

here is a guide to using in electron https://github.com/nolanlawson/pouchdb-electron

from pile.

imfing avatar imfing commented on June 14, 2024

"Open/Save/Save As" sounds good. I think this function should be called "Import/Export", which can save and restore the whole current workspace (tabs). This function could be realized with your #12 by specifying different data file paths. This could be done soon. 😄

Speaking of syncing, it's always good to have all the data synced between devices or keep it safe.
Actually, pile was not intended to be designed for note-taking or similar purposes like notion. There has already been enough great apps to do these specific tasks (Microsoft Todo, Evernote, OneNote, Trello...) It was designed as a management/productivity tool. 🔨 Making the data safe is very important, certainly. It is more convenient for users to have the data synced using their own daily cloud storage services like Dropbox, Google Drive, One Drive... ☁️

The db library looks friendly. However, it would be too time-consuming to switch to another db controller. 🤔
Currently, lowdb can satisfy all the requirements of this app.
Once json-based db cannot handle the needs, switching db would be inevitable.

BTW, if you'd like, you can contribute to this project.

from pile.

pcause avatar pcause commented on June 14, 2024

I've looked at and/or used a lot of these. Pile is the closest to what I'd love to see. And as for productivity, I use multiple computers and a smartphone. My work laptop is Widnows and my home is linux. So sync'ing is important to me. Having an option to specify location to store things plus the import/export lets me use one of many different tools to sync.

I would love to contribute but I am rusty but will give it a try. I've been more on the management/product management side than coding for a bit and so am rusty. If I can what I'd like to add is making the todo's a bit richer. There is a todo.txt format which is pretty simple and could be added I think. It supports priorities and many have extended with simple date spec for due date in the form of due:mm-dd-yyy. Rather than reorder in the board the todo items by date or priority, I'd make a window appear to do the display and ordering.

from pile.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.