phanalist
Smithereen
phanalist | Smithereen | |
---|---|---|
5 | 8 | |
109 | 350 | |
- | - | |
9.3 | 9.5 | |
14 days ago | 3 days ago | |
Rust | Java | |
MIT License | 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.
phanalist
-
Traversing an AST of PHP source code.
Phanalist needs a way to detect when we are in the function's scope with the name tooComplex(). With pattern matching, it is super easy to detect if the statement is either: if,else,etc.. The first statement that I want to match for is class Index{ and from there, we will continue down the tree. If you think the same way as I do you know that I will be using recursion to calculate the cyclomatic complexity. After we have matched the scope of the tooComplex() function.
-
How I made it impossible to write spaghetti code.
In the following paragraph, we will see how phanalist can calculate the cyclomatic complexity of the scope of a method. Before creating Phanalist, I always kept the cyclomatic complexity of the methods I wrote in my mind. And if I see that the complexity is higher than 10. I always try to refactor the method, making it easier to understand.
-
Ask HN: Show me your half baked project
https://github.com/denzyldick/phanalist
I'm trying to write a static analyzer for PHP. It's written in RUST and it's a personal project of mine to learn rust and also make a FAST static analyzer for PHP projects that are big. I started with this project because the current static analyzers in the PHP ecosystem are slow.
It would be nice if there were people that would like to contribute. If you want to learn rust and you have PHP experience you are welcome to help.
- Ask HN: What's your most starred repo?
- A new PHP static analyser(Phanalist)
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?
ext-php-rs - Bindings for the Zend API to build PHP extensions natively in Rust.
GuideToMastodon - An increasingly less-brief guide to Mastodon
php-malware-analysis - Deobfuscation and analysis of PHP malware captured by a WordPress honey pot
shellrunner - Write safe shell scripts in Python.
react-gamin - A rockin' React library for makin' games!
seleneCMSBundle - Add CMS functionality to your Symfony Apps
nature - ๐ The Nature Programming Language, may you be able to experience the joy of programming.
knob - Knowledge graph builder
Misskey - ๐ An interplanetary microblogging platform ๐
privacytools.io - ๐ก๐ You are being watched. Protect your privacy against global mass surveillance.
InterviewNoteHelper - Lets you focus on the candidate, and not the format of your notes
stronglytyped - Keyboard layout analyzer and generator