Coder Social home page Coder Social logo

gigaxel / codesnap.sh Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 6.0 932 KB

Share code snippets without leaving your terminal

Home Page: http://codesnap.sh

License: MIT License

Dockerfile 0.54% Makefile 0.57% Go 75.46% HTML 17.88% CSS 5.57%
code share terminal

codesnap.sh's People

Contributors

am1rarsalan avatar dp-0 avatar gigaxel avatar nedimbusiness avatar

Stargazers

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

Watchers

 avatar  avatar

codesnap.sh's Issues

Remove uber/zap dependency and use internal log/slog package

Additionally, it would be beneficial to not dependency inject the logger, but to create a singleton instead. It would allow us to use the same instance of the logger across the whole app, and would make the dependency tree of each service smaller.

Limit streaming of code files to 5MB

Technically you can stream any kind of file now with the new tunneling feature, and any size. We need to limit the size to 5MB, but we'll still allow streaming of any kind of file.

CI/CD

although there aren't that many tests, we would benefit from automated builds, tests, and deployments

Add custom TTL support

Currently every entry will be deleted after 24 hours. We also want to support a custom TTL up to 24 hours (maybe later extend it)

e.g.

ssh codesnap.sh ttl=1000 < example.go

where the ttl is in seconds

Add a tunnel option between the SSH and HTTP

It would be nice to have an option for the user to send some code snippet via SSH and block until the other side hasn't clicked the link, and it would stream the contents of the file directly to that user, and therefore eliminating the need to persist it on the server side altogether.

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.