<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Projects on Prateek Sharma</title>
		<link>https://prateeksharma.me/projects/</link>
		<description>Recent content in Projects on Prateek Sharma</description>
		<generator>Hugo</generator>
		<language>en-us</language>
		
		
		
		
			<lastBuildDate>Sun, 23 Aug 2026 00:00:00 +0000</lastBuildDate>
		
			<atom:link href="https://prateeksharma.me/projects/index.xml" rel="self" type="application/rss+xml" />
			<item>
				<title>Goroomlib</title>
				<link>https://prateeksharma.me/projects/goroomlib/</link>
				<pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://prateeksharma.me/projects/goroomlib/</guid>
				<description>&lt;p&gt;Across the poker platforms I&amp;rsquo;ve worked on at Adda52 and Mind Sports League, one&#xA;shape kept showing up: users joining a table, leaving it, sending messages to&#xA;everyone at it, and the server keeping track of who&amp;rsquo;s where. Every time I touched&#xA;a new real-time feature, I ended up rewriting the same User and Room bookkeeping&#xA;from scratch. I wanted to pull that pattern out once, get it right, and stop&#xA;reimplementing it.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Tidylnk</title>
				<link>https://prateeksharma.me/projects/tidylnk/</link>
				<pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://prateeksharma.me/projects/tidylnk/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://admin.tidylnk.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Tidylnk&lt;/a&gt;&#xA; is a URL shortener I built to have a&#xA;simple, self-hosted alternative to the usual third-party link shorteners, with an&#xA;admin panel to manage and track links.&lt;/p&gt;&#xA;&lt;h2 id=&#34;tech-stack&#34;&gt;Tech stack&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Backend&lt;/strong&gt; — Go, serving the redirect and link-management APIs.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Frontend&lt;/strong&gt; — a React admin panel for creating, organizing, and tracking&#xA;shortened links.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Storage&lt;/strong&gt; — PostgreSQL as the primary datastore for link records, with Redis&#xA;on the redirect hot path for fast lookups.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Deployment&lt;/strong&gt; — backend and database containerized with Docker and deployed on&#xA;Railway.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;why-i-built-it&#34;&gt;Why I built it&lt;/h2&gt;&#xA;&lt;p&gt;I wanted a link shortener I fully controlled — no reliance on a third party&amp;rsquo;s&#xA;uptime, rate limits, or analytics restrictions — and a project to exercise Go and&#xA;Redis together on a workload where caching genuinely matters: redirect latency.&lt;/p&gt;</description>
			</item>
			<item>
				<title>WazirX Go Connector</title>
				<link>https://prateeksharma.me/projects/wazirx-connector-go/</link>
				<pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://prateeksharma.me/projects/wazirx-connector-go/</guid>
				<description>&lt;p&gt;&lt;a href=&#34;https://wazirx.com&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;WazirX&lt;/a&gt;&#xA; is one of India&amp;rsquo;s largest crypto exchanges, and&#xA;while its REST API is well documented, it doesn&amp;rsquo;t ship an official Go client. I&#xA;wanted to poke at their API for a side project and didn&amp;rsquo;t want to hand-roll&#xA;request signing and endpoint plumbing every time, so I built&#xA;&lt;a href=&#34;https://github.com/pratts/wazirx-connector-go&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;wazirx-connector-go&lt;/a&gt;&#xA; and&#xA;open-sourced it once it was in decent shape.&lt;/p&gt;&#xA;&lt;h2 id=&#34;avoiding-25-near-identical-methods&#34;&gt;Avoiding ~25 near-identical methods&lt;/h2&gt;&#xA;&lt;p&gt;The exchange exposes close to two dozen endpoints — tickers, order book depth,&#xA;order placement, withdrawals, sub-account transfers, and so on. Writing a&#xA;hand-rolled method for each one would have meant the same boilerplate repeated&#xA;two dozen times: build params, sign if needed, pick GET/POST/DELETE, hit the URL,&#xA;parse the response.&lt;/p&gt;</description>
			</item>
			<item>
				<title>WazirX Java Connector</title>
				<link>https://prateeksharma.me/projects/wazirx-connector-java/</link>
				<pubDate>Sun, 23 Aug 2026 00:00:00 +0000</pubDate>
				<guid>https://prateeksharma.me/projects/wazirx-connector-java/</guid>
				<description>&lt;p&gt;After building the &lt;a href=&#34;https://prateeksharma.me/projects/wazirx-connector-go/&#34;&gt;Go connector&lt;/a&gt;&#xA; for WazirX, I&#xA;wanted the same thing on the JVM — but WazirX doesn&amp;rsquo;t publish an official Java&#xA;client at all, REST or WebSocket. The REST half was a fairly direct port of what&#xA;I&amp;rsquo;d already learned building the Go client. The WebSocket half turned out to be&#xA;its own project.&lt;/p&gt;&#xA;&lt;h2 id=&#34;letting-callers-choose-their-failure-granularity&#34;&gt;Letting callers choose their failure granularity&lt;/h2&gt;&#xA;&lt;p&gt;For errors, I didn&amp;rsquo;t want every caller forced into one giant catch-all&#xA;exception, but I also didn&amp;rsquo;t want to force a &lt;code&gt;try/catch&lt;/code&gt; at every single call&#xA;site. I split errors into two, with one extending the other:&lt;/p&gt;</description>
			</item>
			<item>
				<title>Audio Cloning</title>
				<link>https://prateeksharma.me/projects/audio-cloning/</link>
				<pubDate>Mon, 23 Jun 2025 00:00:00 +0000</pubDate>
				<guid>https://prateeksharma.me/projects/audio-cloning/</guid>
				<description>&lt;p&gt;This is an extension of the &lt;a href=&#34;https://prateeksharma.me/projects/video-translator/&#34;&gt;Video Translator&lt;/a&gt;&#xA; tool&#xA;that generates cloned audio for short subtitles, improving the quality of the&#xA;dubbed output. It uses &lt;a href=&#34;https://github.com/myshell-ai/OpenVoice&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;OpenVoice&lt;/a&gt;&#xA; and&#xA;&lt;a href=&#34;https://github.com/myshell-ai/MeloTTS&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;MeloTTS&lt;/a&gt;&#xA; to clone the original speaker&amp;rsquo;s&#xA;voice.&lt;/p&gt;&#xA;&lt;h2 id=&#34;challenges&#34;&gt;Challenges&lt;/h2&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;&lt;strong&gt;Library compatibility.&lt;/strong&gt; The libraries weren&amp;rsquo;t functional on Python 3.12,&#xA;which I was using — they worked on 3.10. So the TTS stage couldn&amp;rsquo;t live in the&#xA;same script as the rest of the pipeline.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Short subtitles.&lt;/strong&gt; The libraries needed a longer sample to clone a voice&#xA;well, and very short lines (&lt;code&gt;hello&lt;/code&gt;, &lt;code&gt;hi&lt;/code&gt;, &lt;code&gt;bye&lt;/code&gt;) errored out.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;h2 id=&#34;what-i-changed-in-the-fork&#34;&gt;What I changed in the fork&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;code&gt;openvoice/se_extractor.py&lt;/code&gt; had a check that discarded audio segments shorter&#xA;than 1.5 seconds. Words like &lt;code&gt;hello&lt;/code&gt; fall under that. I relaxed the check to&#xA;allow segments down to ~0.5 seconds, and added a skip for lines too short to&#xA;process.&lt;/li&gt;&#xA;&lt;li&gt;Added &lt;code&gt;melo-tts&lt;/code&gt; to &lt;code&gt;requirements.txt&lt;/code&gt; (the docs mention it but don&amp;rsquo;t pin it).&lt;/li&gt;&#xA;&lt;li&gt;Added a driver script that points at a &lt;code&gt;video-translator&lt;/code&gt; output folder and&#xA;runs cloning across every generated audio file.&lt;/li&gt;&#xA;&lt;li&gt;Patched the library to run on CPU for Apple M1.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The fork is at &lt;a href=&#34;https://github.com/pratts/OpenVoice&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;github.com/pratts/OpenVoice&lt;/a&gt;&#xA;;&#xA;&lt;code&gt;test1.py&lt;/code&gt; runs the cloning over the translator&amp;rsquo;s output.&lt;/p&gt;</description>
			</item>
			<item>
				<title>Video Translator</title>
				<link>https://prateeksharma.me/projects/video-translator/</link>
				<pubDate>Mon, 23 Jun 2025 00:00:00 +0000</pubDate>
				<guid>https://prateeksharma.me/projects/video-translator/</guid>
				<description>&lt;p&gt;I always wanted to watch Japanese anime and other foreign-language films in&#xA;English without living in the subtitles. During a break I decided to see how far&#xA;open-source models could get me, and built a script that:&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Extracts the background audio from the video.&lt;/li&gt;&#xA;&lt;li&gt;Transcribes it to a subtitle file in the original language.&lt;/li&gt;&#xA;&lt;li&gt;Translates each subtitle to English.&lt;/li&gt;&#xA;&lt;li&gt;Converts the translated subtitles to audio.&lt;/li&gt;&#xA;&lt;li&gt;Merges the translated audio with the background track.&lt;/li&gt;&#xA;&lt;li&gt;Muxes the final audio back into the video.&lt;/li&gt;&#xA;&lt;/ol&gt;&#xA;&lt;p&gt;I wanted to lean on open-source tooling and minimize paid services:&lt;/p&gt;</description>
			</item>
			<item>
				<title>TTS Study Assistant</title>
				<link>https://prateeksharma.me/projects/tts-study-assistant/</link>
				<pubDate>Mon, 15 Jan 2024 00:00:00 +0000</pubDate>
				<guid>https://prateeksharma.me/projects/tts-study-assistant/</guid>
				<description>&lt;p&gt;The TTS Study Assistant lets you select text on any webpage, save it as a note,&#xA;hear it read aloud, and summarize it with AI for review. It&amp;rsquo;s a Chrome extension&#xA;(Manifest V3), a Go/Fiber backend, and a React admin panel.&lt;/p&gt;&#xA;&lt;h2 id=&#34;architecture&#34;&gt;Architecture&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;Backend (Go)&lt;/strong&gt; — Fiber for HTTP, PostgreSQL via GORM, JWT auth, OpenAI for&#xA;summarization, deployed on Railway in a Docker container.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Frontend (React + TypeScript)&lt;/strong&gt; — Vite build, React Query + Context for&#xA;state, deployed on Vercel.&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;Extension&lt;/strong&gt; — Manifest V3 service worker, Chrome Storage API for local state,&#xA;Chrome TTS API for playback, content scripts for text selection.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;decisions-worth-noting&#34;&gt;Decisions worth noting&lt;/h2&gt;&#xA;&lt;h3 id=&#34;source-based-token-lifetimes&#34;&gt;Source-based token lifetimes&lt;/h3&gt;&#xA;&lt;p&gt;Web sessions and extension sessions have very different UX expectations, so the&#xA;access-token lifetime depends on where the request comes from:&lt;/p&gt;</description>
			</item>
	</channel>
</rss>
