Coder Social home page Coder Social logo

Comments (3)

kashav avatar kashav commented on June 3, 2024

Hey @hye, thanks for the issue! Sorry about the late response – been really busy with school lately.

I want to spend some time thinking about how (and if) a plugin system would integrate with fsql, but I think it's a great idea! It'd be a great way to continue expanding fsql without having to force features upon people. Not to mention, it'd probably make it easier for people to add custom functionality as well.

I'll see if I can come up with something concise/clean/simple, please do let me know if you have any ideas!

from fsql.

Nexuist avatar Nexuist commented on June 3, 2024

Hey guys, I just stumbled upon fsql and am enjoying using it so far. Wanted to suggest that instead of a plugin API you should just add an exec() attribute modifier so that we can just write scripts in bash/python/etc to use as plugins. For example, git,exif, and tag are already command line tools so it would be really easy to integrate them with exec(). There's also the possibility of using the output of exec() so that you can e.g. perform HTTP requests or read file contents:

SELECT name FROM . WHERE "tomatoes" IN (SELECT exec("cat", name) FROM .)

This would be the easiest way to greatly increase the usefulness of fsql IMO.

from fsql.

kashav avatar kashav commented on June 3, 2024

@Nexuist, hey, thanks for reviving this.

I'd be happy to review/work with someone on a patch that implements this. I do worry that this is perhaps too powerful and people (me) are going to start cat-ting their whole home directory without realizing it, but I think it could be a fun feature to have, so why not!

from fsql.

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.