Coder Social home page Coder Social logo

liddiard / stream-editor Goto Github PK

View Code? Open in Web Editor NEW
25.0 2.0 3.0 7.99 MB

A web tool for interactively using and chaining command-line text manipulation utilities like sed, grep, and awk.

Home Page: https://streameditor.io

Python 4.89% JavaScript 16.41% CSS 0.31% HTML 72.62% Shell 0.68% SCSS 5.09%
stream-editor grep bash sed regular-expressions shell react flask

stream-editor's People

Contributors

dependabot[bot] avatar liddiard avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

stream-editor's Issues

What needs to be done to release this live?

server

  • input validation: disallow control characters (any others we should disallow?)
  • command execution timeout: prevent a denial-of-service attack or just an accidental overloading of resources. probably limit to ~10 sec
  • user permissions: execute commands as user with no write permissions (also no read, if possible)
  • run all commands inside a chroot; look into Python's os.chroot

client

  • separate client-side code from server side
  • tech upgrades: use webpack/create-react-app, upgrade to latest React, use functional components
  • host frontend on AWS
  • address other UI enhancements as desired

Failure to run on Ubuntu 16.04.04

I am attempting to get the project to run on Ubuntu 16.04.04.

I installed npm using apt-get and followed the instructions in the README. At the step npm install && npm start I get an error.

watchify -v -o dist/bundle.js -t scssify -t reactify src/app.jsx

/usr/bin/env: ‘node’: No such file or directory

npm ERR! Linux 4.4.0-116-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "start"
npm ERR! node v4.2.6
npm ERR! npm  v3.5.2

I realise the project has not been touched in some time but I am eager to get it working as it's the only tool of it's kind I have been able to find.

suggest disabling diffs on large input

Since diff is computationally expensive and calculated client-side, if the user's input is over some limit it might be nice to warn them with something like "You've entered a large input. If your browser is laggy, try disabling 'Show diff' for a smoother experience."

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.