lucene-grep
jsoup
lucene-grep | jsoup | |
---|---|---|
9 | 27 | |
187 | 10,645 | |
- | - | |
5.2 | 9.1 | |
7 months ago | about 1 month ago | |
Clojure | Java | |
Apache License 2.0 | 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.
lucene-grep
- FLaNK Stack Weekly for 20 June 2023
-
Using Java's Project Loom to build more reliable distributed systems
- Graal native images are real. These boast a far lower startup overhead and much lower steady state memory usage for simpler applications.
Probably my counterexample of choice is this: https://github.com/dainiusjocas/lucene-grep - it uses Lucene, probably the best search library (core of Elasticsearch, Solr, most websites), which is notoriously not simple code to implement grep-like functionality. In simple cases, they demonstrate a 30ms whole process runtime with no more than 32MB of RAM used (which looks suspiciously like a default).
The JVM is fast becoming a bit like Postgres... one of those 'second best at everything' pieces of tech.
- lucene-grep - grep-like utility based on Lucene Monitor compiled with GraalVM native-image
-
Lmgrep: Lucene-based grep-like utility
Here goes: https://github.com/dainiusjocas/lucene-grep/issues/84
I realize some relatively obscure Finnish stemmer and Lucene with GraalVM aren't exactly a common use case. I did some testing and provided my use case. I certainly have much English language content to search with using lucene-grep. So, thank you for making it!
- Lmgrep
jsoup
- FLaNK Stack Weekly for 20 June 2023
-
Russia news visualisation on steroids
2e. The HTML parsing library is in app-kt. It's called JSoup https://jsoup.org/
-
Looking for direction, guidance on in-home call button.
For parsing the webpage in Java or Kotlin you can use Jsoup
-
Web Scraping Google With Java
Jsoup — It is a Java library that can be used for both extracting and parsing HTML.
-
How I archived 100 million PDF documents... (Part 1)
Finally, at this point, I was able to go through a bunch of webpages (parsing them in the process with JSoup), grab all the links that contained pdf files based on the file extension then download them. Unsurprisingly, most of the pages (~60-80%) ended up being unavailable (404 Not Found and friends). After a quick cup of coffee, I got the 10.000 documents on my hard drive. This is when I realized that I have one more problem to solve.
-
Regex to find/replace text within <angle brackets> and ignore rest of the text
It might be better to use an HTML parser instead (this one looks good at first glance: https://jsoup.org/) although as long as you can make certain assumptions over the HTML input (for example that it'll always have those two attributes in this order) using regular expressions to parse it is feasible.
-
API pentru preturi la combustibil
Poti folosi JSoup in Java https://jsoup.org/
- One more question regarding a program I wanna write
-
UIUC MCS - CS 427 Review - Software Engineering
There are five machine problems. None of the assignments took me longer than two to three hours, and the last one I completed in less than an hour. The MPs had been recently redesigned and tied together nicely. Each one covered a different course topic in the jsoup code base.
-
Any suggestions for good open source Java codebases to study(With below criteria)?
https://github.com/jhy/jsoup jsoup is a java library for parsing HTML. Intuitive API and extremely well readable code. I would definitely recommend this.
What are some alternatives?
ArchiveBox - 🗃 Open source self-hosted web archiving. Takes URLs/browser history/bookmarks/Pocket/Pinboard/etc., saves HTML, JS, PDFs, media, and more...
Apache Nutch - Apache Nutch is an extensible and scalable web crawler
ali-dbhub - 已迁移新仓库,此版本将不再维护
Crawler4j - Open Source Web Crawler for Java
babashka - Native, fast starting Clojure interpreter for scripting
storm-crawler - A scalable, mature and versatile web crawler based on Apache Storm
BlockHound - Java agent to detect blocking calls from non-blocking threads.
Sparkler - Spark-Crawler: Apache Nutch-like crawler that runs on Apache Spark.
beagle - A smart, reliable, and highly customizable debug menu library for Android apps that supports screen recording, network activity logging, and many other useful features.
JsonPath - Java JsonPath implementation
coyote - Coyote is a library and tool for testing concurrent C# code and deterministically reproducing bugs.
yq - Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents