samples
pkg
samples | pkg | |
---|---|---|
17 | 91 | |
16,612 | 24,099 | |
0.8% | - | |
9.4 | 6.3 | |
2 days ago | 4 months ago | |
Dart | JavaScript | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
samples
-
Using Dart web apps with Electron?
Element Embedding demo source code
-
What was your favorite part of Flutter Forward?
Source: https://github.com/flutter/samples/tree/main/experimental/element_embedding_demo :)
-
Migrating a Flutter app to Material 3
For a complete overview of M3 in Flutter, check out the official Material 3 Demo.
-
Flutter add to app
I've tinkered around with the https://github.com/flutter/samples/tree/main/add_to_app/android_view repository. I deleted the content of the dart files and replaced it with just a scaffold and button that connects to my method channel. I wrote a simple plugin which extends FlutterPlugin and Activity Aware the handle the method channel. My main problem seems to be, that the GeneratedPluginRegistrant.java file does not contain any references to my Flutter plugin. pub get within the Flutter Module doesn't add my plugin.
-
Dr. Riverpod: How I learned to stop worrying and love state management
Simple state management, aka pragmatic state management, is based on Provider+ChangeNotifier. It's well documented, and there's a code sample.
- Best practices for project structure
-
Introducing Flutter 3
That "toolkit" is basically a pubspec.yaml with preconfigured dependencies not including a game engine and some sample code how to use Firebase, Admob, and some other google services.
- Pequena dica para o dia a dia, git clone-github repository
-
Flutter Navigator 2.0 Easier API Workaround?
So it's been 3 days, since I started understanding the new Navigator 2.0 thing, and belive they were worst 3 days I have ever had with flutter, anyways I took nearly all of the code from this official repo.
-
Tell the Flutter team about your experience with web support
I can respond to (c.) - We just released a navigation sample app, which demonstrates some common navigation scenarios. We are also actively researching routing and navigation APIs and will share more on that soon.
pkg
-
We are under DDoS attack and we do nothing
I don't remember the details, and cannot find my notes on vercel/pkg. But looking at https://github.com/vercel/pkg right now I see the project has been deprecated in favour of single-executable-applications
-
Tailwind CSS v4.0.0 Alpha
> Standalone CLI β we havenβt worked on a standalone CLI for the new engine yet, but will absolutely have it before the v4.0 release.
This part is the most exciting to me. Given the rest of the release announcement, I'm assuming this means that it'll be built in Rust rather than embed Node. While I'm not a Rust zealot of anything, I'm very partial to not embedding Node. Particularly when it depends on using Vercel's now-abandoned pkg[1] tool.`
[1] https://github.com/vercel/pkg
-
Things I've learned about building CLI tools in Python
The npm package called "pkg" seems to be the standard for packaging NodeJS applications
https://www.npmjs.com/package/pkg
Unfortunately you also need to bundle all your code into a single file for it to work, but you can use any bundler (webpack, parcel, etc) you want at least
-
Deno 1.35: A fast and convenient way to build web servers
Nodejs support for "single executable applications" is getting there - this issue below is preventing wider adoption at the moment:
"The single executable application feature currently only supports running a single embedded script using the CommonJS module system."
https://nodejs.org/api/single-executable-applications.html
Should be an awesome game changer for node.js when the feature gets rounded out.
Also check out vercel's `pkg`: https://github.com/vercel/pkg/issues/1291
-
Can I include Node inside my project?
Yes, you can. Check out pkg for a fun option, which can package up your project and Node.js into a single executable.
-
[Question] How does Node-RED compile a flow?
Further, you could experiment with the pkg tool that allows you to package up Node JS, your source, and your dependencies into one single executable for easy distribution.
- Bun v0.6.0 β Bun's new JavaScript bundler and minifier
- How to restrict the access to an on premise node server?
-
Tips for reducing Docker image size
package the app using https://github.com/vercel/pkg and use a smaller base image like alpine, busybox or even scratch (if possible)
-
Making standalone exe
Check this thread: https://github.com/vercel/pkg/issues/1685
What are some alternatives?
RecordRTC - RecordRTC is WebRTC JavaScript library for audio/video as well as screen activity recording. It supports Chrome, Firefox, Opera, Android, and Microsoft Edge. Platforms: Linux, Mac and Windows.
nexe - π create a single executable out of your node.js apps
flutter_barcode_sdk - Build barcode QR detection apps for Windows, Linux, macOS, Android, iOS and web.
ncc - Compile a Node.js project into a single file. Supports TypeScript, binary addons, dynamic requires.
webview_deno - π Deno bindings for webview, a tiny library for creating web-based desktop GUIs
reverse-engineering - List of awesome reverse engineering resources
wpt - Test suites for Web platform specs β including WHATWG, W3C, and others
webpack - A bundler for javascript and friends. Packs many modules into a few bundled assets. Code Splitting allows for loading parts of the application on demand. Through "loaders", modules can be CommonJs, AMD, ES6 modules, CSS, Images, JSON, Coffeescript, LESS, ... and your custom stuff.
node-v0.x-archive - Moved to https://github.com/nodejs/node
bytenode - A minimalist bytecode compiler for Node.js
cli - The Docker CLI
oclif - CLI for generating, building, and releasing oclif CLIs. Built by Salesforce.