# Work

You should check out [my current projects](https://nilesh.trivedi.link/master#now) and [my GitHub profile](https://github.com/nileshtrivedi).

I started programming in 1999. Starting with C, I finished many projects with Java and Javascript before discovering and falling in love with Ruby. I co-founded a B2B startup (YouSuggest.us which was a social CRM app) and learnt a lot. The companies I have worked with include GupShup, Truweight, HyperTrack, ClearTax and Meta among others. My primary work has been in building intelligent and scalable software systems but I have dabbled in things like electronics hardware, algorithmic trading, aerodynamics and mathematical music theory.

{% file src="<https://296982065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZaDuuxc0Mr2PGDVR9d%2Fuploads%2Fj33AWwnBtjcSluE22FUJ%2FNilesh_Trivedi_CV.pdf?alt=media&token=f1c114f4-88c5-4896-bc91-6a2034c1fcb0>" %}
My outdated resume
{% endfile %}

You can contact me via [Twitter](http://twitter.com/nileshtrivedi) or [ActivityPub](https://fosstodon.org/@nilesh) or [BlueSky](https://bsky.app/profile/nilesh.trivedi.link).

## aicombinator

This is a GPT-powered bot that can automate complex online tasks using both the web browser and API calls. I built this for a generative AI hackathon. This uses OpenAI, Javascript, and Puppeteer: <https://github.com/aicombinator/bot>

{% embed url="<https://user-images.githubusercontent.com/19304/229281118-e143322a-1c6f-4464-9f69-9425454895f0.mp4>" %}

## Grapher: Visual Graph Editor

This is a visual editor for nested graphs: <https://codeberg.org/nilesh/grapher>. This is being used by the Foresight Institute for their civilizational technology trees at [https://foresight.org/tech-tree](https://foresight.org/tech-tree/)

This is built using Svelte and SVG.

<figure><img src="https://296982065-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZaDuuxc0Mr2PGDVR9d%2Fuploads%2FdwmIrywgD3wYFewfSOnz%2Fimage.png?alt=media&#x26;token=b642769d-acfa-4e6a-881a-b75a506a67b1" alt=""><figcaption></figcaption></figure>

## [LearnDB](https://github.com/learn-awesome/learndb)

<figure><img src="https://user-images.githubusercontent.com/19304/173263184-2b72e006-91f1-43d6-9bde-3d151272e177.png" alt=""><figcaption></figcaption></figure>

This was an attempt to build a Google Maps for learning. This got some attention at [ProductHunt](https://www.producthunt.com/posts/learnawesome) and [Hacker News](https://news.ycombinator.com/item?id=23795779). I discontinued this in 2024 to rethink learning in the age of AI.

*Ruby, Rails, PostgreSQL, TailwindCSS*

## [Better](https://github.com/nileshtrivedi/better)

![](https://296982065-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZaDuuxc0Mr2PGDVR9d%2F-MZaRzhNNQO6n2eqYkQ6%2F-MZaSiPEXO4WEZuP9knK%2Fbetter.png?alt=media\&token=cb730be8-2e54-4a62-a7a2-e1f2099dff9f)

This is a browser extension that recommends "better" alternative products and services via in-page popups, based on community-curated lists. Available for all Chromium and Firefox-based browsers..

*Javascript, Web Extension API*

## [Bizzy - A responsive design testing tool](https://bizzy.polyglot.network/)

![](https://296982065-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZaDuuxc0Mr2PGDVR9d%2F-MZaV-nONWUd7-M3UZHh%2F-MZaW6ypHRpEaSqqzbCo%2Fbizzy.png?alt=media\&token=8faa269e-4b50-4340-a527-3a3963e5d5eb)

This is a fork of an old version of Sizzy that lets you test a webpage in different screen sizes.

## [Physics Simulation in Javascript](https://hasgeek.tv/jsfoo/2013-2/688-interactive-physics-simulation-in-the-browser-what-i-learned)

![](https://296982065-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZaDuuxc0Mr2PGDVR9d%2F-MZaV-nONWUd7-M3UZHh%2F-MZaWQf38Ywy27MkvWza%2Fphysics.png?alt=media\&token=56cf056b-a76a-4adc-ad72-48c49ac1710b)

I made a [physics playground app](https://mechasim.herokuapp.com) for the browser, which involved vector math, Runge-Kutta integration, impulse-based constraint solver and drawing with HTML5 Canvas API. I gave [a tech talk about this at JSFoo 2013](https://hasgeek.tv/jsfoo/2013-2/688-interactive-physics-simulation-in-the-browser-what-i-learned).

*Javascript, Canvas API, Mozilla Persona*

## [Embedded Flashcard with Spaced Repetition](https://nilesh.trivedi.pw/articles/spacedrep.html)

![](https://296982065-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZaDuuxc0Mr2PGDVR9d%2F-MZaRzhNNQO6n2eqYkQ6%2F-MZaSn0Gj1rW3z5af3kK%2Fflashcard.png?alt=media\&token=708e1b85-d07d-4740-a341-b0eec0df91ad)

This is a reusable UI widget which any webpage can embed for their readers to practice the content using spaced-repetition techniques. All progress is kept on localStorage so users do not need to sign up.

*VueJS, Web Components*

## [GupShup](https://gupshup.me/)

![](https://296982065-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZaDuuxc0Mr2PGDVR9d%2F-MZaRzhNNQO6n2eqYkQ6%2F-MZaSrFbNnwY6v_nRlMc%2Fgupshup.png?alt=media\&token=3e7eccda-5cdc-4adc-ba49-0a2f08876c1d)

I was tech lead with them from 2009 to 2013, building the enterprise platform serving 35 million users and sending out 2 billion messages every month.

*Ruby, Rails, Android, Facebook API*

## MapGap

![](https://296982065-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZaDuuxc0Mr2PGDVR9d%2F-MZaRzhNNQO6n2eqYkQ6%2F-MZaSypoBKKaTaLKB9ia%2Fmapgap.png?alt=media\&token=fffbc8d9-55fc-4b58-bddd-8cad3a8d4943)

I made this app at [NASA Space Apps Challenge](http://spaceappschallenge.org/) at Delhi in April 2013. It allows you to submit spots in the planet to NASA where satelite imagery is needed but missing.

*Ruby, Sinatra, MongoDB & Google Maps API*

## BugRoulette

![](https://296982065-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZaDuuxc0Mr2PGDVR9d%2F-MZaRzhNNQO6n2eqYkQ6%2F-MZaT950c0VIrHVYu8iC%2Fgithub.png?alt=media\&token=ffcfa432-0aaa-493c-a05d-12eca46ccdc5)

I made this app for events like [Pullathon](http://pullathon.com/). It lets you randomly browse open issues from GitHub repositories that you follow.

*Ruby, Sinatra, GitHub, OAuth*

## [Live Coding](http://www.nileshtrivedi.com/livecoding_js_demo/)

![](https://296982065-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MZaDuuxc0Mr2PGDVR9d%2F-MZaRzhNNQO6n2eqYkQ6%2F-MZaTH05uclSvaHdYA2q%2Flivecoding.png?alt=media\&token=bbf20c26-932e-4db2-b26e-7eaf38a5239d)

Inspired from [Bret Victor's famous talk](http://vimeo.com/36579366), I made this prototype for live coding. The idea is that as you code, the tests are run automatically and their status is immediately visible to the programmer.

*Javascript*
