Better HN
topnewbestaskshowjobs
Log inSign up

velut

30 karma · joined Apr 30, 2019 (7y ago) · 18 submissions

GitHub: https://github.com/velut/
Submissions

comment 3y ago · link · parent

I don't think so. I use Sidebery and their recommended approach is to edit userChrome.css. It's not too bad and works well. See https://github.com/mbnuqw/sidebery/wiki/Firefox-Styles-Snipp....

comment 3y ago · link · parent

The search input provided by a website. You can try with the one in the footer of Hacker News and it works. See https://imgur.com/oxqMw6D

comment 3y ago · link · parent

Right click inside a search box. There should be the option "Add a Keyword for this search".

comment 3y ago · link · parent

You can press Ctrl+K or type a `?` before the search query and Firefox will use your default search engine without expanding the bookmark macro.

comment 3y ago · link · parent

This is one of my favorite features that I use daily.

I use the URL "https://www.google.com/search?q=site:ycombinator.com+%s" to search content from HN, and "https://www.google.com/search?q=site:reddit.com+%s" to search on Reddit. I also have "https://www.npmjs.com/package/%s" to directly go to a package page on npm.

comment 3y ago · link · parent

I recently deployed a static website on Bunny.net using their object storage and their CDN and they make available logs in this format https://docs.bunny.net/docs/cdn-log-format.

comment 3y ago · link · parent

Hi,

This is a simple web app that I created to add grids and stylize images and pixel art, for an example see [1].

I used Sveltekit for the website, DaisyUI/Tailwind for the styling, Superforms to handle user inputs and custom code using the canvas API for rendering images.

You can check out the repository at: https://github.com/velut/gridify.it.

[1]: https://www.gridify.it/examples/06.jpg

8.

Show HN: Gridify.it – Svelte app to add grids to images and pixel art(gridify.it ↗)

1 points · by velut · 3y ago · 1 comment

comment 4y ago · link · parent

I made a website that uses bookmarklets just for that.

https://www.videospeedup.com/

comment 4y ago · link · parent

Hi,

I'm the author of the website mentioned by zebracanevra that does just that.

When a user requests the documentation for a package hosted on npm, a lambda function (Vercel/AWS) runs the analysis process using the TypeScript compiler.

The TS compiler is slow though and this process can take several seconds to finish for packages of medium and larger sizes (you can see the exact time at the bottom of a generated documentation page).

11.

Exploring the NPM Registry API(edoardoscibona.com ↗)

1 points · by velut · 5y ago · discuss

comment 5y ago · link · parent

Thank you!

Yes, I use prism-react-renderer for syntax highlighting.

I did not know about Shiki, but I'll look into it.

comment 5y ago · link · parent

Thank you for your question, I don't have experience with Docusaurus but I'll try to list a few ideas, let me know if it can help you.

If you only need raw package metatada (signatures, docs...) that Docusaurus will render somehow at build time you may use my extractor which outputs a plain Javascript object with the collected information (see https://github.com/jsdocs-io/extractor/blob/main/test/packag...).

If you need pre-rendered docs that Docusaurus will embed in a page you may implement something like a React component (see https://github.com/jsdocs-io/web/blob/main/src/components/pa...) and use the raw metadata as component props.

If you need a pre-rendered page that Docusaurus will collect, you may want to look into https://www.npmjs.com/package/@microsoft/api-extractor which can directly output Markdown files (as well as JSON files) but requires some initial setup to get working.

comment 5y ago · link · parent

Thank you for your kind words!

Your LSIF approach sounds interesting, I'll look into it.

Another documentation host I know of is https://hexdocs.pm/ for Elixir packages.

comment 5y ago · link · parent

Hi HN,

After working on a mixed Go/Javascript project and wishing there was something similar to GoDoc for npm packages, I started working on jsDocs.io with the objective of it being the easiest way to generate and view the public API and documentation of npm packages.

Currently, jsDocs.io supports packages that contain Typescript source files (.ts) or definition files (.d.ts); you can check out some packages below.

The project is open source and available on GitHub at https://github.com/jsdocs-io

I'm happy to answer your questions.

https://www.jsdocs.io/package/query-registry

https://www.jsdocs.io/package/faastjs

https://www.jsdocs.io/package/got

16.

Show HN: Automatic Documentation for TypeScript Packages(jsdocs.io ↗)

14 points · by velut · 5y ago · 7 comments

comment 5y ago · link · parent

Hi, thanks for your feedback.

Javascript-only packages are not currently supported but Typescript packages or @types packages are.

For example check the faastjs[1] package, you can see plenty of information about its API.

[1]: https://www.jsdocs.io/package/faastjs/v/5.3.8

18.

Show HN: GoDoc for NPM Packages(jsdocs.io ↗)

1 points · by velut · 5y ago · 2 comments