frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: My not-for-profit search engine with no ads, no AI, & all DDG bangs

https://nilch.org
75•UnmappedStack•4h ago
I've been working on a little open source [1] search engine, nilch. I noticed that nearly all well known search engines, including the alternative ones, tend to be run by companies of various sizes with the goal to make money, so they either fill your results with ads or charge you money, and I dislike this because search is the backbone of the internet and should not be commercial, so it runs in a not-for-profit style and aims to survive on donations. Additionally I'm personally really sick of AI in my search results so I got rid of that, and I wanted DuckDuckGo bangs so it supports all of them. Like many alternative search engines, it is fully private.

Sadly, it currently does not have its own index but rather uses the Brave search API. Once I'm in a financial position that it's possible, I would absolutely love to build a completely new index from the ground up which is open source, as well as an open source ranking and search algorithm, to back it.

I posted on Reddit and got an amazing amount of feedback which I implemented a number of feature requests, so I would really like your ideas, critiques, and bug reports as well. Thank you and sorry for the long post!

[1] https://github.com/UnmappedStack/nilch

Comments

Imustaskforhelp•2h ago
Awesome project, I have a quick suggestion but can you please make adding custom ddg bangs into your project itself rather quickly?

There was this project on hackernews which was recently shown where they (scraped?) the internet and then created an really efficient embedding of the search engine. I wish if you could look more into it or contact the creator of that project perhaps.

https://news.ycombinator.com/item?id=44878151 (Show HN: Building a web search engine from scratch with 3B neural embeddings)

Looks like https://search.wilsonl.in/ they have since then closed the live demo but I had used it when it was live and in my opinion, it was a mix of that if things needed some improvements but that it was also usable for some things which were in the dataset (Of course you wouldn't get Organic chemistry questions/answers for high schoolers as an example in there but you will find most things (usually wikipedia) and then some good sources, usually the ones popular but it was really cool overall so perhaps you can look more into it and helps

Now I really love your project a lot and I think there should be not for profit search engines, but I am a little worried about using it since if I use it as my search engine, then it might cost you a lot of money (using the brave api) .

I just searched and it seems that ecosia is a non profit as well so you can definitely partner up with them, I remember a post about qwant and ecosia partnering up to create an independent search engine.

I think that there should be competition within the search engine space especially via non profits in a way similar to wikipedia one might say ideally. Wishing you the best for this project's future!

prmoustache•2h ago
Ecosia is still making money (that it uses to plant trees). That means it is selling something and we can reasonnably think that is your data/privacy.
UnmappedStack•2h ago
As far as I'm aware, Ecosia does sell ads.
UnmappedStack•2h ago
Thank you! I would definitely consider custom ddg bangs, yes. Is there any particular reason you want that rather than just all ddg's bangs like it is currently?

I'll have a look into that project, thank you. Cost is a slight issue so far, yes. There have been about 4,000 searches in the past couple days but I've slightly improved cost efficiency with caching, and I've received two small donations which do help a bit, so the hope is that donations will be able to sustain it.

Partnering with Ecosia is a really interesting idea, however I think that there may be a conflict of interest since they do aim to make money with ads, just to go towards environmental efforts rather than a corporation. They would be disadvantaged if nilch was at an advantage over their users.

I do love the wikipedia model and I hope that nilch can run similarly. Thank you again!

everfree•2h ago
I believe an open source ranking algorithm is antithetical to good search, sadly. It hands spammers a recipe for how to push past legitimate sites to dominate the search results.
UnmappedStack•2h ago
This is sadly probably quite true. I'm sure there are workarounds, like slightly changing it every month or two, although that would require quite heavy maintenance. Perhaps the core algorithm stays the same but some constants that decide on the weights of different things are randomised? Not too sure.
Tepix•1h ago
The topic of ranking mechanisms sits at the core of many of our issues with social networks and centrally operated instances. I think it deserves far more attention.

And these algorithms should be open source and we should be able to pick our own and mash them.

Related:

Build Your Own Timeline Algorithm: A Blueprint

https://blog.mozilla.ai/build-your-own-timeline-algorithm-a-...

renegat0x0•2h ago
How is it different from searxng then?
UnmappedStack•2h ago
I see nilch as slightly more about being simplistic and not having many features that are unnecessary. I do share many of the values and benefits with searxng (and really love their work!), however this is also about my own specific desire for something that is clean and has very little that is unnecessary.
DeepSeaTortoise•2h ago
I'm in no way an expert, but IMO there is a major misconception in the free-ish software community that profit should be at most secondary to offering a fair and as good as sustainably possible product.

I strongly disagree with this. IMO developers of free-ish as in freedom products OWE it, not only to themselves, but their community to be as profitable as possible within the rules they think that should be followed (and those that are mandatory ofc).

Profit is not only by far the strongest motivating factor for others to adopt your set of rules, but also a guarantee to your community that the product will still be around in a few years and not turn into a rug pull because its developer is burned out after working 80 hour weeks for months or even years for less than minimum wage. It is also something you can trade for your values, e.g. offering great working conditions to your employees or funding projects or lobbying for laws you think will benefit society.

grey-area•1h ago
Profit is fine.

Profit from advertising is highly corrosive and corrupts everyone it touches (social networks, your tube, search etc etc).

UnmappedStack•1h ago
Honestly I agree. This is part of what I love about the idea of Kagi. I do believe a not-for-profit alternative is needed, however if there's any for-profit model a search engine should have, it should be paid for by the user rather than the advertiser imo.
BrenBarn•1h ago
It depends what you mean by "profit". If you mean "the developers/maintainers can pay the bills of a modest lifestyle", then yes, I think that's important. But often "profit" is used to refer to the idea of unlimited upside, that there are stocks, that the project will be sold, that some kind of sizable windfall is expected, etc. And that I think is to be avoided.
UnmappedStack•1h ago
This is a really interesting view, but I'm not sure I agree. So many amazing projects are truly free without the goal of profit yet their maintainers still do amazing work. I feel like part of the reason this works is because often the load is split between several maintainers (of which I hope to onboard soon, and have one or two offers already from people to contribute) and also the fact it's genuinely something enjoyable to work on (of course, to the extent it's not too stressful and overworked).
NitpickLawyer•1h ago
There's a difference between awesome projects that don't have a recurring cost (i.e. open source software that users run themselves) and a search engine. You cannot physically run a search engine without real-world costs today. Those funds need to come from somewhere. And offering a good product at scale costs a lot of money.
UnmappedStack•1h ago
That is very true, and it's not cheap to maintain. I do however really hope that donations can cover it enough, and I have plans about other ways to monetise it while remaining not-for-profit without ads or anything that affects the user.
YetAnotherNick•16m ago
Examples? If you are going to say something like linux, almost every developer gets paid to contribute to linux(I remember 95% commits have company attribution). Same with postgres etc.
barrell•1h ago
There’s part of this that I agree to - I tend to disagree with most anti-capitalist (or anti-profit) sentiment. However, I disagree that builders “owe” anyone anything, and I strongly disagree with goal of as much profit “as possible”.

I miss the days when someone would make a service where the user would benefit as much as possible and the creator got compensated fairly. I feel like that system worked for hundreds of years. It’s only in the last couple decades that we’ve made this obligation for maximal profits - something that I personally hold responsible for all the mass enshittification going on these days.

axiolite•55m ago
> developers of free-ish as in freedom products OWE it, not only to themselves, but their community to be as profitable as possible

Wikipedia seems to do just fine without.

Commercializing a product is a whole other field, and it's not reasonable to expect everyone to be good at that, and not reasonable to expect developers to all take on a second job of commercializing their hobby projects.

Why don't YOU commercialize your fork of their service, and use the proceeds to hire developers to maintain the code? That would be infinitely more useful than armchair criticism of others.

YetAnotherNick•16m ago
> Wikipedia seems to do just fine without.

No, they still pay fair wage, and I would trust it more if it pays fair wage to people spending their time on the project(including the creator).

angel-•1h ago
Will you include suggested autocomplete searches?
UnmappedStack•1h ago
I do intend to support this and have actually already been asked to!
Tiberium•1h ago
Right now it seems like the project is just a thin wrapper over Brave Search. Building a complete search engine is way harder than that. You could look into using https://github.com/MarginaliaSearch/MarginaliaSearch if you want to run a real search index - https://marginalia-search.com/ is powered by it.
UnmappedStack•1h ago
Yup, it is pretty much just a better frontend for existing search. I want to build my own index and ranking algorithm in the future, but sadly it's quite resource intensive so it will depend on financial viability a bit in terms of timeframe.
RadiozRadioz•54m ago
So it's not a search engine, it's a frontend for a search engine.
UnmappedStack•42m ago
Sure, would've made for a chunky post title tho :P
dangus•41m ago
You can just turn off the AI feature in Brave search so it’s sort of extra pointless.

It’s possibly worth pointing out that the about page doesn’t offer any indicator that this is an actual nonprofit entity from a legal standpoint, so at this point I have to assume it’s just a sole proprietorship that is pinky promising to become a non-profit.

In that sense I’m quite happy “donating” to Kagi to provide a stable and supported product from a company with employees.

UnmappedStack•37m ago
That's fair enough. For the record I do intend to apply for a non-profit official entity. I would say it still has a role as opposed to Brave considering the lack of advertising though.
Fnoord•21m ago
There's tons of these frontends, including SearXNG and proprietary (but very good) Kagi. Kagi are working on their own index; this will be their meat.

I am convinced LLMs are the way forward for searching, with a caveat: what they summarize isn't very relevant (it is overrated). It just gives a (hopefully accurate) semantic context. What matters is the sources it directs to. These are your links normally on top of ypur search query.

axiolite•1h ago
Doesn't seem to like double-quoted search strings:

  SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Single-quotes don't seem to work (doesn't change search results... doesn't exclude irrelevant results that don't contain the exact string).
UnmappedStack•1h ago
Oh! I will make sure to fix that, thank you for the bug report!
consp•48m ago
Escaping and encapsulating input data strikes again.
ILoveHorses•47m ago
I get this error anytime I search anything.

  Error loading search results. Please try again.

  SyntaxError: JSON.parse: unexpected keyword at line 1 column 1 of the JSON data
BaudouinVH•38m ago
you are not alone
UnmappedStack•36m ago
I see, that is odd and I haven't run into that yet, thank you! I'll have a look into it and try to reproduce the issue, which browser+OS are you on?
thesdev•47m ago
Searching for "DOMContentLoaded" gives me an error "'noresults' is not valid JSON" and the page gets stuck in an infinite refresh loop.

Edit: It's actually unrelated to the search term, I get this for anything I search for. I'm using Vivaldi Android with adblocker on, maybe that's the problem.

UnmappedStack•14m ago
Woah it was because I had run out of API credits, fixed! I'll improve the error screen for that. Sorry, did not expect this traffic, it's had several thousand searches today!
ckardaris•17m ago
Interesting project. Thanks for sharing.

I am also a fan of DDG bangs and I see two missing features:

1. DDG supports bangs at any place in the query (even in the middle of it). I can search "topic !wiki" and it will work as expected.

2. DDG also supports following the first result in a query if a bare '!' is present in the query. Searching " hacker news !" will land me in the actual website without having to click anything in the results page.

Maybe you can consider adding these.

UnmappedStack•13m ago
I actually did not know if these, but I definitely will implement those!
supermatt•15m ago
You NEED to validate/escape untrusted input.

Searching “ causes an error

https://cheatsheetseries.owasp.org/cheatsheets/Input_Validat...

UnmappedStack•4m ago
Yeah I really do need to, I'm not sure why I didn't from the start...

Show HN: Z80-μLM, a 'Conversational AI' That Fits in 40KB

https://github.com/HarryR/z80ai
129•quesomaster9000•4h ago•33 comments

Show HN: My not-for-profit search engine with no ads, no AI, & all DDG bangs

https://nilch.org
75•UnmappedStack•4h ago•41 comments

Show HN: My app just won best iOS Japanese learning tool of 2025 award (blog)

https://skerritt.blog/best-japanese-learning-tools-2025-award-show/
110•wahnfrieden•9h ago•14 comments

Show HN: Awaaz – revolutionary public opinion app for understanding society

https://awaaz.app
4•shauryatusk•2h ago•0 comments

Show HN: DockMate – Terminal UI for Container Management

https://github.com/shubh-io/DockMate
2•shubh-io•4h ago•0 comments

Show HN: Got tired of searching for AI news daily so I built my own AI news page

https://dreyx.com/
3•lilsquid•4h ago•3 comments

Show HN: LoongArch Userspace Emulator

https://github.com/libriscv/libloong
19•fwsgonzo•4d ago•5 comments

Show HN: AI-assisted approach to detecting patterns in network traffic

https://github.com/vgaj/phd/tree/main/mcp_prototype
2•viru7•4h ago•0 comments

Show HN: I Built a Tool to Turn YouTube into Structured Courses

https://www.disclass.com
5•yunbiao•7h ago•0 comments

Show HN: Matchstick Puzzle Game in the Browser

https://matchmath.pages.dev/
4•prettyblocks•5h ago•1 comments

Show HN: Phantas – A browser-based binaural strobe engine (Web Audio API)

https://phantas.io
25•AphantaZach•13h ago•8 comments

Show HN: Golazo – Live soccer updates in your terminal

https://github.com/0xjuanma/golazo
8•rocajuanma•10h ago•0 comments

Show HN: Mysti – Claude, Codex, and Gemini debate your code, then synthesize

https://github.com/DeepMyst/Mysti
208•bahaAbunojaim•5d ago•173 comments

Show HN: Pion SCTP with RACK is 70% faster with 30% less latency

https://pion.ly/blog/sctp-and-rack/
56•pch07•15h ago•5 comments

Show HN: Ez FFmpeg – Video editing in plain English

http://npmjs.com/package/ezff
407•josharsh•2d ago•191 comments

Show HN: KeyByKey.app – Daily piano game for practicing playing melodies by ear

https://keybykey.app
3•reassess_blind•8h ago•3 comments

Show HN: Xcc700: Self-hosting mini C compiler for ESP32 (Xtensa) in 700 lines

https://github.com/valdanylchuk/xcc700
150•isitcontent•2d ago•36 comments

Show HN: Upload a song and get a finished music video (no editing, no prompts)

https://musicvideogenerator.app/
2•hexadecimal•10h ago•2 comments

Show HN: Witr – Explain why a process is running on your Linux system

https://github.com/pranshuparmar/witr
500•pranshuparmar•2d ago•98 comments

Show HN: AI 3D Model Generator

https://3d-generator.com
3•jokera•16h ago•2 comments

Show HN: Mini-vLLM in ~500 lines of Python

https://github.com/ubermenchh/mini-vllm
3•ubermenchh•11h ago•0 comments

Show HN: Desktop‑2FA – offline, encrypted 2FA authenticator for your desktop

https://github.com/wrogistefan/desktop-2fa
3•wrogistefan•12h ago•0 comments

Show HN: Handoff – Claude Code plugin to let any AI continue where you left off

https://github.com/willseltzer/claude-handoff
2•pgspaintbrush•12h ago•0 comments

Show HN: AutoLISP interpreter in Rust/WASM – a CAD workflow invented 33 yrs ago

https://acadlisp.de/noscript.html
135•holg•2d ago•43 comments

Show HN: An MCP server to develop Norns/Supercollider audio apps

https://gist.github.com/rcarmo/9fe5f1523d4c93401dd2255180da299a
2•rcarmo•13h ago•0 comments

Show HN: Warlocks – a real-time browser multiplayer game running at 60fps

https://warlocks.icegaming.org/
2•iCeGaming•14h ago•0 comments

Show HN: Lamp Carousel – DIY kinetic sculpture powered by lamp heat (2024)

https://evan.widloski.com/posts/spinners/
100•Evidlo•4d ago•21 comments

Show HN: Pixels.style – a tiny watercolor-style pixel art maker

https://pixels.style
7•petersonh•15h ago•2 comments

Show HN: I built a replit game where you need to kill debuggers[Glitch Survival]

https://glitch-survival.replit.app
2•altras•16h ago•1 comments

Show HN: GeneGuessr – a daily biology web puzzle

https://geneguessr.brinedew.bio/
87•brinedew•6d ago•20 comments