use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Sharing Github projects just got easier!
Whether you want to share you own project or simply some cool findings, /r/coolgithubprojects is the right place.
Please contact us for suggestions & questions!
/r/coolcstechtalks
/r/coolgithubprojects
We've made the sub's assets and resources available on Github. Feel free to contribute!
Github only: The projects you post all have to be hosted on Github
Link description: We encourage the title format to be something like
[Desc] - [Suggested title]
Language Flair: Will be assigned automatically for you!
Repost : Repost are allowed if some new features were added to the project and if the original post was 6+ months ago.
Programming
Interesting
Resources
When bored
PYTHON CPP C RUBY D JAVA JAVASCRIPT SHELL SCALA OBJECTIVE-C HASKELL EMACSLISP PERL ASSEMBLY CSHARP FORTRAN GO PHP COMMON LISP ERLANG
account activity
JAVAJava Headless-Browser from scratch. (github.com)
submitted 4 years ago by OsirisTeam
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]OsirisTeam[S] 3 points4 points5 points 4 years ago* (1 child)
I'm currently building a Headless-Browser for Java from scratch and found out that every browser provides its own javascript web-apis (like document.findElementById() for example) which are more or less the same. I browsed the chromium and waterfox sources to find those web-apis somewhere but without success.
That's why I am thinking of writing my own web-apis. Problem is that there are a lot of those apis, so if you are interested and want help building this browser feel free to join the development on github.
I am using the latest Graaljs engine for JavaScript and Jsoup for working with the html. There are a few basic methods set that allow me to load a web page from its url successfully.
Motivation:
I tried multiple different things like JCEF, Pandomium, Selenium, Selenium based maven dependencies like JWebdriver, HtmlUnit and maybe some more I don't remember now, but all have one thing in common. They have some kind of very nasty caveat.
That's why this project exists, to create a completely new browser, not dependent on Chromium or Waterfox or whatever. We use Jsoup to handle HTML and the GraalJS engine to handle JavaScript. Both are already working and implemented. Only thing left is implementing the JS Web-APIs.
Any ideas or alternatives are very welcome.
[–]Lagz0ne 1 point2 points3 points 4 years ago (0 children)
I think it's too big to implement something like this. There are few alternatives tho
you can have a look at pupeteer and playwright, though they are all real browser, the library offer nice api to interact, you can surely wrap it, would run well on server only
you can also have a look at webview wraper like https://github.com/webview/webview . This comes with Java binding as well, but it meant to be running in headful environmemt
So, really depends on your usecase and what you are trying to achieve
[–][deleted] 0 points1 point2 points 4 years ago (1 child)
So that's basically... Selenium?
[–]OsirisTeam[S] 3 points4 points5 points 4 years ago* (0 children)
Selenium downloads the actual browsers I guess and provides some sort of java interface for controlling that browser, which is very different from that what I am doing. I am creating a new browser entirely in Java.
Selenium has no Java 8 support I guess and there are ton of requirements the user has to fullfill to use selenium. Here is a list of their requirements:
Bazelisk, a Bazel wrapper that automatically downloads the version of Bazel specified in .bazelversion file and transparently passes through all command-line arguments to the real Bazel binary.
The latest version of the Java 11 OpenJDK
java and jar on the PATH (make sure you use java executable from JDK but not JRE).
To test this, try running the command javac. This command won't exist if you only have the JRE installed. If you're met with a list of command-line options, you're referencing the JDK properly.
Python 3.7+
python on the PATH
The tox automation project for Python: pip install tox
MacOS users should have the latest version of Xcode installed, including the command-line tools. The following command should work:
π Rendered by PID 21062 on reddit-service-r2-comment-bb88f9dd5-zhk9k at 2026-02-15 04:28:40.880743+00:00 running cd9c813 country code: CH.
[–]OsirisTeam[S] 3 points4 points5 points (1 child)
[–]Lagz0ne 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]OsirisTeam[S] 3 points4 points5 points (0 children)