gigaxel / codesnap.sh Goto Github PK
View Code? Open in Web Editor NEWShare code snippets without leaving your terminal
Home Page: http://codesnap.sh
License: MIT License
Share code snippets without leaving your terminal
Home Page: http://codesnap.sh
License: MIT License
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.
Add an option to send the snippet to an email e.g.
ssh codesnap.sh [email protected] < example.go
although there aren't that many tests, we would benefit from automated builds, tests, and deployments
The landing page needs some love
Maybe a 100 code snippets per hour
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
We've changed the design of the page where we display uploaded code. We need to change the README.md screenshots to match the use the new ones
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.
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.
I have multiple ways in mind, but for now this is the goal:
ssh codesnap.sh image=true < main.go
// output should give link to image
the screenshot should be styled for social media.
e.g.
Something that can be useful to integrate this:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.