magika
Smithereen
magika | Smithereen | |
---|---|---|
5 | 8 | |
7,490 | 358 | |
1.9% | - | |
9.8 | 9.4 | |
7 days ago | 5 days ago | |
Python | Java | |
Apache License 2.0 | The Unlicense |
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.
magika
- Ask HN: How to handle user file uploads?
- FLaNK Stack Weekly 19 Feb 2024
-
Magika: AI powered fast and efficient file type identification
As someone that has worked in a space that has to deal with uploaded files for the last few years, and someone who maintains a WASM libmagic Node package ( https://github.com/moshen/wasmagic ) , I have to say I really love seeing new entries into the file type detection space.
Though I have to say when looking at the Node module, I don't understand why they released it.
Their docs say it's slow:
https://github.com/google/magika/blob/120205323e260dad4e5877...
It loads the model an runtime:
https://github.com/google/magika/blob/120205323e260dad4e5877...
They mark it as Experimental in the documentation, but it seems like it was just made for the web demo.
Also as others have mentioned. The model appears to only detect 116 file types:
https://github.com/google/magika/blob/120205323e260dad4e5877...
Where libmagic detects... a lot. Over 1600 last time I checked:
https://github.com/file/file/tree/4cbd5c8f0851201d203755b76c...
I guess I'm confused by this release. Sure it detected most of my list of sample files, but in a sample set of 4 zip files, it misidentified one.
-
Show HN: Magika: AI powered fast and efficient file type identification
We are very excited to announce the release of Magika our AI powered fast and efficient file type identification lib and tool - https://opensource.googleblog.com/2024/02/magika-ai-powered-fast-and-efficient-file-type-identification.html
Thanks to its optimized Keras model, large scale training dataset, and Onnx Magika massively outperform other file identification tools while be very fast even on CPU.
Magika python code and model is open sourced on Github: https://github.com/google/magika and we also provide an experimental TFJS based npm package https://www.npmjs.com/package/magika
With the team we hope you will find Magika useful for your own projects. Let us know what you think or if you have any question!
Smithereen
-
Ask HN: How to handle user file uploads?
In my project[1], I convert all user-uploaded images to high-quality webp and store them like that. I discard the original files after the conversion. I use imgproxy[2] to further resize and convert them on the fly for actual display.
I don't do videos yet, but I'm kinda terrified of the idea of putting user-uploaded files through ffmpeg if/when I'll support them.
[1] https://github.com/grishka/Smithereen
[2] https://github.com/imgproxy/imgproxy
-
Why is no one making a new version of old Facebook?
They do, or rather not old Facebook, but old VK: https://github.com/grishka/Smithereen
As a bonus it's an ActivityPub enabled application, so any specific instance of it requires less work to get the network effect going. :)
-
Ask HN: Show me your half baked project
https://github.com/grishka/Smithereen
A Facebook-style ActivityPub server. Has wall posts, groups, and events.
Not yet "ready" — 1.0 would need much better moderation tools, photo albums (with tagging), discussion boards (in groups), and a client API. Direct messages are a work in progress right now.
I myself use it daily for my participation in the fediverse.
-
VSCode config to disable annoyances – telemetry, notifications, welcome pages
Unfortunately I don't think it fits any of the projects I work on (and I don't use VSCode to begin with, never had it installed, bit I do see an IntelliJ plugin as well).
I have one project that's a server application (https://github.com/grishka/Smithereen), but since it uses lots of custom stuff on top of the Spark micro-framework, your plugin would probably not work on it. I imagine it does expect projects to be structured idiomatically for the framework they use, at least to some degree. Spark also doesn't know anything about databases, so that is all custom as well. Oh and I also hacked it a bit with reflection to allow streaming responses.
-
Meta selling new “Meta Verified” blue badge for $12-15/month
I'm building a fediverse project that aims to fill this exact niche. It's basically a recreation of an early-ish version of VKontakte (Russian Facebook) but federated. It's not really ready yet, and there are lots of important features missing, but I do use it daily for my primary fediverse account.
I, too, am sick of all the existing social media companies trying their damnest to cater to the entertainment use case no one ever asked for.
https://github.com/grishka/Smithereen
-
Misskey: An Interplanetary Microblogging Platform
I'm building an ActivityPub thing of my own: https://github.com/grishka/Smithereen
It's not quite ready for mainstream use just yet, but I'm getting there. The next update will improve moderation tools by a lot. One after that will, at last, add private messages.
-
Limewire the golden age of the 90er
Well, for one, fediverse is a thing, and I'm doing my part
-
Ask HN: Who is working on fully decentralized social networking?
I know of Smithereen[1] that is an attempt at a full fledged social network similar to VK on top of the ActivityPub vocabulary.
[1] https://github.com/grishka/Smithereen
What are some alternatives?
file - Read-only mirror of file CVS repository, updated every half hour. NOTE: do not make pull requests here, nor comment any commits, submit them usual way to bug tracker or to the mailing list. Maintainer(s) are not tracking this git mirror.
GuideToMastodon - An increasingly less-brief guide to Mastodon
magic - Racket implementation of the Unix file command's magic language
shellrunner - Write safe shell scripts in Python.
Space-Maker
react-gamin - A rockin' React library for makin' games!
spark-nlp-workshop - Public runnable examples of using John Snow Labs' NLP for Apache Spark.
seleneCMSBundle - Add CMS functionality to your Symfony Apps
noseyparker - Nosey Parker is a command-line program that finds secrets and sensitive information in textual data and Git history.
nature - 🍀 The Nature Programming Language, may you be able to experience the joy of programming.
kaitai_struct_formats - Kaitai Struct: library of binary file formats (.ksy)
knob - Knowledge graph builder