Inspiration
The inspiration for creating this extension stemmed from a desire to develop an AI-powered tool that could assist both students and professionals in a simple, efficient manner. I wanted to provide an easy-to-use extension that allows users to access AI assistance with just a few clicks, helping them work smarter and faster.
What it does
This extension offers a variety of features to streamline everyday tasks:
- Prompt API: This feature acts as a ChatGPT-like tool, allowing users to prompt it with anything they need help with. The AI responds with relevant answers based on the input, making it a versatile tool for a wide range of queries, whether it's for research, writing, or general knowledge.
- Text Summarization: Summarizes text based on user-defined criteria such as type of summarization (e.g., extractive or abstractive), desired length, and output format.
- Text Translation: Translates text from English to Spanish or Japanese, with plans for more languages in the future. Users allowed to provide input from Prompt API or Summary API to translate.
- AI Assistant Writer: Helps users write text based on context provided. You can also request the AI to rewrite sections if you're not satisfied with the output. Additionally, it offers the flexibility to change the tone and length of the rewritten text to suit your needs.
How I built it
With blood, sweat, and tears, I built this extension by constantly reading the documentation and example of codes provided in the early preview program doc. I worked extensively with the documentation and code samples from the early preview program. GPT also played a crucial role in assisting me with cleaner code and debugging. While the project was a challenging one, it was immensely rewarding to see it come to life.
Challenges I ran into
One of the biggest hurdles was getting comfortable with JavaScript, as it isn't my primary coding language. Additionally, I faced several bugs, including persistent DOMException errors, which I struggled to resolve within the time constraints of the hackathon. While I wasn't able to fully debug every issue, I made significant progress and learned a lot from the experience.
Accomplishments that I'm proud of
Despite the challenges, I'm proud of what I was able to achieve:
- Successfully integrated all the APIs provided, creating a multi-functional extension. (The exception being the Detect API, which had bugs that prevented full integration).
- While I couldn't implement all the features I had originally envisioned, I’m satisfied with the progress I made and the final product.
What I learned
Throughout this project, I revisited the fundamentals of JavaScript and deepened my understanding of API integration, specifically with the Gemini Nano API. I also gained a stronger grasp of prompting methods and the nuances of text generation and summarization, which will be valuable for future projects. I also learned how to code an extension for any browser which was a first for me.
What's next for SumUP
Moving forward, I plan to improve the user interface to make it more intuitive and user-friendly. Additionally, I will continue to refine the extension and implement the features I had originally envisioned. Ultimately, I hope to launch SumUP on the Google Chrome Web Store as a free tool, making it accessible to a wide range of users who can benefit from AI-powered assistance.
Built With
- gemininano
- html
- javascript
- json
- promptapi
- rewriterapi
- summarizeapi
- translateapi
- writerapi

Log in or sign up for Devpost to join the conversation.