codesearch.ai
Hacker News API
codesearch.ai | Hacker News API | |
---|---|---|
9 | 85 | |
33 | 10,991 | |
- | 1.4% | |
0.6 | 0.0 | |
about 1 year ago | 9 months ago | |
Go | ||
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.
codesearch.ai
-
Show HN: Ichido, search engine that tags sites using Google and Cloudflare
https://codesearch.ai/
-
Show HN: Feep search, an independent search engine for programmers
- Brave (recently started its own index but often falls back on Google's)
Love to see projects like Marginalia and now this. These projects also make meta search engines like Searx[0] that much more powerful.
Anyways since I'm in the business of listing out relevant projects, other code-centered search engines you might wanna check out are searchcode.com[1], codesearch.ai[2], symbolhound[3], and publicwww.com[4] (some of these are often down, but might still be good to learn from)
[0] https://searx.tuxcloud.net/
[1] https://searchcode.com/
[2] https://codesearch.ai/
[3] http://symbolhound.com/
[4] https://publicwww.com/
-
[P] Semantic code search using Transformers - codesearch.ai
Hey, I'm Rok, a software engineer at Sourcegraph, and I've been working on an experimental AI-powered code search engine called codesearch.ai as a side project. It answers natural language queries with functions indexed from GitHub.com and StackOverflow.
-
Ask HN: Are there any decent GitHub Copilot Alternatives?
It's not a pure CoPilot alternative, but I'd put https://codesearch.ai into the mix (disclaimer, it's my side project).
It is a semantic code search tool that can be queried using natural language. It provides decent answers to a variety of questions, and I've been finding myself using it quite often to "autocomplete" various mundane tasks. For example, plotting with matplotlib, making http requests in Go, running multiple goroutines, etc. - things where I would usually reach for Google. It doesn't provide a straightforward ready-to-run answer like CoPilot, but it does provide a way to help yourself. It all depends on what you prefer and how you learn. Arguably, having to read the code before you use it makes it more likely it will stick in your brain.
-
Contrastive Representation Learning
Great read, thanks for sharing. Would love to see the natural language + code mixed in there :)
I've been interested in contrastive learning for a while, mainly as a means to train semantic code search models. OpenAI released a great paper on this topic called Text and Code Embeddings by Contrastive Pre-Training[1] that outlines the approach. I've used it as a base to build https://codesearch.ai [2] with pretty good results.
[1] https://arxiv.org/pdf/2201.10005.pdf
-
A semantic code search engine built using PyTorch and Hugging Face - codesearch.ai
It looks like the UI for https://codesearch.ai/ was developed in [some combination of Go and React javascript](https://github.com/sourcegraph/codesearch.ai/tree/main/codesearch-ai-data/cmd/web)?
Hacker News API
- Testing
-
Hacker News Coze Plugin
I built a plugin that allows Coze bots to make requests to the Hacker News API.
-
Hacker News Rankings. Graphs of HN Posts Rankings
I recognise the huge amounts of effort involved in this and I applaud the moderators for keeping HN an interesting place to be.
That said, I think it's reasonable for us to have visibility on their manual interventions, and this could be easily surfaced via the Hacker News API (https://github.com/HackerNews/API), if the Story JSON included the values of "contro," "bury," and "gag" fields, which are currently opaque to users of the API
See https://medium.com/hacking-and-gonzo/how-hacker-news-ranking... for more discussion on terminology
-
Hacker News Stats: 2007–2022
Google probably stopped updating BigQuery when they started hosting live Hacker News data in Firebase: https://github.com/HackerNews/API
The live nature of the Firebase data is awesome, but the lack of ability to query is a loss.
-
Show HN: Tech Jobs on the Command Line
Nice work! I did something similar with a personal project a few months ago using an open source llm. Also, not sure if you know, there is an api you can use. https://github.com/HackerNews/API
-
Show HN: New Hacker News posts and comments in realtime
Hi HN, I made a live feed for viewing all of the new items on Hacker News in almost-realtime. It is a single, modern HTML file that doesn't use polling.
It works by establishing a websocket connection to the Hacker News Firebase database, to receive updates every time the HN server updates Firebase, which is about once every 30 seconds. This is very efficient, putting no load on HN's server and using minimal bandwidth.
To make the feed continuous despite the delay, it waits to display each item until exactly 30 seconds before displaying it. I think this is a fair tradeoff, it gives you a sense of how active HN is. For comparision, there are something like 6-7 thousand tweets every second.
Official HN Firebase API: https://github.com/HackerNews/API
Source code: https://github.com/jerbear2008/hn-live/blob/main/index.html
- Aplicando MVVM en Phoenix LiveView
-
Ask HN: How to track subjects in HN like a particular programming language?
You could use the API: https://github.com/HackerNews/API
-
Has Hacker News stopped uploading its dataset in 2022?
You can now get Hacker News data in real time from the Hacker News API powered by Firebase: https://github.com/HackerNews/API
This is great (real time!), but also kind of a pain (38+ millions individual http requests to get the whole thing).
Thankfully there's no authentication or apparent rate limiting. I fumbled my way through downloading the whole thing with curl. I screwed up a few times so made over 70 million requests in total.
Toy analysis of the data I downloaded here: https://public.tableau.com/app/profile/isna/viz/HackerNewsDa...
-
Ask HN: How do I find my most popular HN posts?
Get your submissions from this API
https://hacker-news.firebaseio.com/v0/user/ohjeez.json?print...
and then scan the "submitted" articles as described here
https://github.com/HackerNews/API
I have a crawler that sucks down all the posts from HN and then I read it into Pandas and write all sorts of queries. The boggle I have now is that I want to use the same system to (1) make sure YOShInOn never submits duplicate articles, and (2) have accurate vote and comment scores. (1) requires picking up articles as soon as possible, (2) requires waiting two weeks or so until the scores have settled down to what they are going to be. I guess I gotta come back and rescan things in 2 weeks so I have the right scores.
What are some alternatives?
devdocs - API Documentation Browser
hnrss - Custom, realtime RSS feeds for Hacker News
Goopt - 🔍 Search Engine for a Procedural Simulation of the Web with GPT-3.
hackernews - Hacker News web site source code mirror.
pldb - PLDB: a Programming Language Database. A computable encyclopedia about programming languages.
laravel-localization - Easy localization for Laravel
https-everywhere - A browser extension that encrypts your communications with many websites that offer HTTPS but still allow unencrypted connections.
hnterm - :page_with_curl: Hacker News in the terminal
jfq - JSONata on the command line
hackernews-TUI - A Terminal UI to browse Hacker News
refined-hacker-news - ✨ Hacker News, but refined — Interface tweaks and features to make the HN experience better
hn-search - Hacker News Search