GithubHelp home page GithubHelp logo

Comments (5)

linonetwo avatar linonetwo commented on May 29, 2024

file://../files

from tidgi-desktop.

heavenkiller2018 avatar heavenkiller2018 commented on May 29, 2024

@linonetwo

Some Issues:

  1. The uploaded PDF file is not displaying correctly.
    Screenshot 2023-07-27 103400

  2. The uploaded MP4 file is not playing properly.
    Screenshot 2023-07-27 103305

  3. When I upload an .flac file(about 30MB), TidGi perceives it as a text tiddler, causing the system to slow down even crash down significantly.

Which file types are supported by this plugin for importing as "skinny tiddlers"?

I have a few suggestions to enhance this plugin's functionality in handling files:

  1. Portability: When dragging an external file into TidGi, it should be saved in a specified directory within the wiki, such as '../files', and named using a hash of its content(for Uniqueness). The original filename should be stored in a designated field called 'original_filename'. The '_canonical_uri' field should be set as a relative path rather than an absolute path, like "file://../files/test.pdf".

  2. When opening the generated tiddler, it should be rendered according to its filetype so that it can be directly interacted with. For example, a PDF file can be viewed, and an MP4 file can be played.
    Alongside the "Open In External App" functionality, these tiddlers with the '_canonical_uri' field should be opened by an external application based on their original filetype, rather than the extension of the tiddler itself, which merely serves as a pointer.

  3. An export function should be provided for these '_canonical_uri' tiddlers.

If the above proposals are implemented, I would be able to utilize TidGi to conviniently and effectively manage most of my PC files, such as PDFs, MP4s, and MP3s, instead of relying solely on the Windows File Explorer, as TidGi surpasses it in searching and information management capabilities. It is currently limited to handling solely text-based file formats.

from tidgi-desktop.

linonetwo avatar linonetwo commented on May 29, 2024

https://talk.tiddlywiki.org/t/about-the-file-uploads-plugin/19

from tidgi-desktop.

heavenkiller2018 avatar heavenkiller2018 commented on May 29, 2024

@linonetwo

For TidGi-Desktop,I have explored alternative solutions, excluding Fission and Github. The remaining options, namely PUT, Node.js, and Webdav, seemly, none of them proved successful. And the option for "Node.js files PUT uploader support" is not even displayed in the available configuration choices of "File Uploads". Is there a viable "File Uploads" solution available for TidGi-Desktop? Additionally, it seems that the feature of "File Uploads" may potentially clash with the functionality provided by the "External Attachments for TidGi" application because of their different approach to handling the _canonical_uri..

WebDAV

WebDAV-LS - 28th July 2023 at 8:22am
Error: Could not retrieve the contents of the directory /.

Failed to execute 'fetch' on 'Window': Failed to parse URL from /

PUT-uploader

PUT-uploader - 28th July 2023 at 8:39am (count: 2)
Error saving file test1.pdf: TypeError: Failed to execute 'fetch' on 'Window': Failed to parse URL from files/test1.pdf

from tidgi-desktop.

linonetwo avatar linonetwo commented on May 29, 2024

feature of "File Uploads" may potentially clash with the functionality provided by the "External Attachments for TidGi"

Report there for him, maybe he knows

from tidgi-desktop.

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.