2025-01-26# Use AI with my websiteHere's some ways to use AI to improve your exp
erience browsing this website./raw/ contains all the static files of my website,
including markdown, images and audio.The broader thesis I'm betting on is that
as long as the raw content is present in a folder, AI can do everything else wit
h the content - simplify it, summarise it, style it, translate it etc.I'm aware
the implementation of some of these features sucks right now and requires techni
cal skills. I'll try improving all this when it's a priority for me and I have f
ree time.#### Audio/VideoSee: /raw/english_video_ai_generated_{date}Generated us
ing: OpenAI DALLE-3 images, ElevenLabs audio voiceoverThis may have inaccuracies
or be outdated. You can also use AI to generate this yourself.#### SearchSee: /
raw/misc/english_singlepage_{date}.mdCopy-paste the contents into the prompt win
dow of your favourite AI, and follow it with whatever question you want to ask a
bout my writings. I have dumped my entire website contents into a single page, s
o it is easier to copy-paste.#### Simplified englishSee: /raw/english_simplified
_ai_generated_{date}Generated using: OpenAI o1This is a version of my website co
ntent with simpler english.This may have inaccuracies or be outdated. You can al
so use AI to generate this yourself.#### TranslationSee: /raw/हिंदी_अनुवाद_ai_ge
nerated_{date}Generated using: OpenAI GPT4This is a hindi translation of my webs
ite.This may have inaccuracies or be outdated. You can also use AI to generate t
his yourself.#### StylingIf you don't like the styling (font family, font size,
line spacing, etc) on my website, you can do the following.1. Give an AI the [cu
rrent CSS](https://samuelshadrach.com/viewer.css) and [current HTML](https://sam
uelshadrach.com/viewer.html) file as input, and ask it to generate a modified CS
S file based on your preferences.2. Upload the modified CSS file to any online f
ile storage such as google drive or aws s3.3. Paste the (publicly accessible) li
nk to the modified CSS in the form input at the bottom of the page. It will pers
ist for the duration of your browsing session.P.S. The default css and js are al
so mostly written by AI, so it's unlikely anything you generate is much worse.##
## Full stackSee: /raw/misc/english_tarball_{date}If you want to do something mo
re complicated (such as doing many of the above steps together), you can downloa
d the tarball and then ask AI to write a bash pipeline for you that does all the
necessary steps.## Future featuresIn short, I really don't want to host a (not
static) backend or manage user payments. And I don't see why the use cases below
should should require me to host one.The features I'm personally most intereste
d in: - WebRTC client connecting to OpenAI Realtime API (audio), with this websi
te's content injected as context - This is a common enough use case that I wis
h someone else would offer hosted backend for this. - Better payment system -
An important reason AI app devs need to host a backend is because OpenAI wants t
o be paid by app devs, who will then optionally collect payments from end users.
- For my use case though, ideally OpenAI collects payments from users and iss
ues (ephemeral) API keys to the client directly. Then no backend would be requir
ed. - Legal liability might be a reason they're avoiding doing this. I'm unsur
e. Maybe OpenAI wants an app dev who they can hold responsible for API inputs wi
th malicious intent.Other features that would be cool: - Ability to ask OpenAI t
o crawl my website directly. No "singlepage" needed. I have updated my robots.tx
t but OpenAI still refuses to crawl my website. - Legal liability might be a r
eason they're avoiding doing this. I'm unsure. - Maybe they don't want to be h
eld responsible for sending GET requests on IPs with bad reputations. Or they do
n't want to handle responses containing data of malicious intent. - If legal l
iability is the only reason, then ideally the crawler runs client-side. - Browse
r allows changing UX using AI. Some of the features above like translation and c
hanging CSS are UX features that could ideally be supported by the browser itsel
f. Until then someone could write a browser extension for it. - So far I don't
see a reason this can't happen. Maybe it will happen eventually.