Chat Indexing with Chatsindex.com
Tags: nextjs, seo, trpc, prisma
Published: 2023-03-21 10:50:57

Would you like to grow your chat community? [Chatsindex.com](https://Chatsindex.com) indexes chat messages and make them searchable for search engines like Google. Well, will be as this is still a prototype! Through SEO (Search Engine Optimization) it is ensured that the entries appear as high as possible in the search results. This way new users can be attracted to your Discord server or any other chat you prefer.

Below you can see an example of how a Discord channel and the search results can look like:

![seo.gif](https://raw.githubusercontent.com/mmuller88/mmblog/master/content/chatsindex/seo.gif)

The Google page is only mocked ([Chatsindex.com/search](https://Chatsindex.com/search)) because it is still a prototype.

## How does it work?

A Discord bot writes the messages into a database. The database gets queried by a NextJS server and rendered into search-engine-optimized (SEO) pages. Google crawls the page and the entries are discoverable.

The prototype is built using the [T3-Stack](https://martinmueller.dev/t3-stack). The T3-stack is a NextJS stack with TailwindCSS, tRPC, and Prisma. The database is currently SQLite and is queried with tRPC and Prisma. The page is rendered using NextJS and TailwindCSS.

## Participants

Does this idea sound interesting to you? Then feel free to contact me [https://MartinMueller.dev](https://MartinMueller.dev). I am looking for volunteers with Discord servers to test the idea.

## Outlook

If the idea is well received, I would like to index other private chat systems like WhatsApp groups, Telegram groups, Slack, etc.

Another idea of mine is to implement an overall search for private chats like Discord, WhatsApp groups, Telegram groups, and Slack. With certain keywords or categories, private chats with certain topic content can then be found. For example, if I'm interested in financial education, I can then simply enter finance in the search and I'll be presented with Discord servers, WhatsApp/Telegram groups, etc. with a focus on finance. If you like the idea, feel free to contact me.

## Conclusion

I think the combination of SEO and private chats like Discord servers is an exciting idea. For now, I want to test the idea and see if there is any demand for it. If you are interested, feel free to contact me.

Using the [T3-Stack](https://martinmueller.dev/t3-stack) was super fun and it took me just like a weekend to sketch out this little prototype. If you need help with your idea or project reach out to me as well!

Thanks to the [DeepL translater (free version)](https://DeepL.com/Translator) for helping with translating to English and saving me tons of time :).

I love to work on Open Source projects. A lot of my stuff you can already use on <https://github.com/mmuller88> . If you like my work there and my blog posts, please consider supporting me on the:

[![Buy me a Ko-Fi](https://storage.ko-fi.com/cdn/useruploads/png_d554a01f-60f0-4969-94d1-7b69f3e28c2fcover.jpg?v=69a332f2-b808-4369-8ba3-dae0d1100dd4)](https://ko-fi.com/T6T1BR59W)

OR

[![Buy me a Ko-Fi](https://theastrologypodcast.com/wp-content/uploads/2015/06/become-my-patron-05.jpg)](https://www.patreon.com/bePatron?u=29010217)

And don't forget to visit my site

[![martinmueller.dev](https://martinmueller.dev/static/84caa5292a6d0c37c48ae280d04b5fa6/a7715/joint.jpg)](https://martinmueller.dev/resume)