harej / hackerpaste Goto Github PK
View Code? Open in Web Editor NEWA paste bin for Skynet
Home Page: https://hackerpaste.hns.siasky.net
License: Other
A paste bin for Skynet
Home Page: https://hackerpaste.hns.siasky.net
License: Other
Would be nice if you could press CTRL+S to save the paste as a new snapshot and maybe CTRL+Shift+S to save to my pastes.
When npm run build
is run, four warnings are produced:
WARNING in ./node_modules/codemirror/addon/mode/loadmode.js 53:6-19
Critical dependency: the request of a dependency is an expression
@ ./src/editor.js 25:0-40
@ ./src/index.js 3:0-5:28 11:0-14 12:0-16 13:0-8 16:0-21 17:0-13
WARNING in asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
bundle.js (1.44 MiB)
WARNING in entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
main (1.52 MiB)
main.css
bundle.js
WARNING in webpack performance recommendations:
You can limit the size of your bundles by using import() or require.ensure to lazy load some parts of your application.
For more info visit https://webpack.js.org/guides/code-splitting/
This points to unoptimized code that could affect performance for the end-user.
Criteria to resolve issue
The issue will be considered resolved when there are no more warnings during the build process.
Hacker Paste accepts any arbitrary skylink. The skylinks are meant to be text files, but there is nothing stopping the user from loading any other type of file. If the app detects the user trying to open a non-text file it should prevent it.
When is MySky login support coming?
As of writing, Hacker Paste treats all input as "text/plain" and the choice of syntax highlighter mode is lost between creation of the link and loading it in a new tab/browser/device. If the choice of syntax highlighter is recorded at link generation time, different file formats (other than .txt) could be used, and choice of syntax highlighter could be inferred from this.
Right now, external dependencies like Code Mirror are loaded in from an external source. All of the code used by the app should be within the app.
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.