Created Updated

longermini

longerminiとは、入力した文字列を、Geminiのパワーでより長い文章に変換できるWebアプリです。

リンク

使用したプロンプト

1

- Please create a new project.

- This project is a simple website with a single text input box. When the button called `longermini` is pressed, Gemini is triggered and rewrites the input into a longer piece of text with a similar meaning.

- The project name is `longermini`.

- As another example of a desirable project, documentation for a memo app named `kjxlkj` has been prepared in the `tmp` directory. Read it as deeply as possible and use it as a reference.

2

- Make it possible to specify the model. The default model should be "gemini-3-flash-preview".

- Keep what is shown in history as-is, but replace the text in the textbox with the rewritten version instead of the original. In other words, when the longermini button is pressed repeatedly, the text should become more and more verbose without increasing the amount of information.

- Instead of "Enter a short text here...", make various example sentences in many different languages rotate every few seconds. Prepare around 200 samples.

- In history, use "longerminied" instead of "rewritten".

- Set the maximum length of the original input to 140 characters.

- Light mode is broken, so fix it completely.

- Make the corner radius around 4 pixels.

- Do not display style options or allow them to be selected; keep only the current default.

- Set the limit to about 10 times per day per client. Also display the remaining number of uses.

- Show generation output in a streaming-like manner. While thinking, explicitly show that it is thinking.

- As an ideal longermini transformation, "My stomach hurts" should become something like "My internal organs, probably my stomach and intestines, are crying out," while taking care not to increase the amount of information or alter the meaning. Simply adding conjunctions is also desirable.

- Make it support many languages.

- Currently, it behaves like a general-purpose LLM chat response. Enable thinking for the LLM output, and after the thinking phase, read and use only the rewritten sentence.

- When server-side rate limiting is triggered, communicate that honestly.

3

- The site name is currently something like "Create Next App", so change it to "longermini". Also improve other small details of that sort wherever possible.

- Remove the UI for switching between night mode and light mode. Dark mode only is fine.

4

- There are times when the thinking phase becomes very long. Please adjust the prompt or anything else as needed so that it does not become too long and stays within about 5 seconds.

- For the example sentences, make sure a random one is selected. Right now they appear in order, which is not ideal.

- Implement a button to post to X, and place it next to the longermini button.

- For the longermini button, add a "!" at the end.

- Add a button to open the source code (GitHub) page.

- Create around 100 actual input/output examples, and display random ones softly in the background in a card-like style, gently appearing and fading out. I would like there to be about 4 visible on average on the screen.

- Please implement light mode as well. Keep dark mode as the default.

5

- Please stop showing examples in the background of the screen after all.

- Improve the example sentences shown when nothing has been entered so they are better ones. (Examples: My stomach hurts. I pooped. I'm sleepy. I'm hungry. I want to eat karaage. etc.)

- The light mode rendering is broken, so keep working on it until it is in a proper state.

6

- For the feature that posts to X, append `#longermini` at the end.

- Set the character limit to 120 characters. Also, after content has been longermini-ed, if no further changes are made, the limit does not take effect. Please fix that.

- Prepare an example `.env` file. Also, add documentation explaining how to configure the GEMINI API based on it.

- Implement a `getseed` button near the `longermini!` button. This button should ask Gemini to come up with a short sentence that serves as the seed for longermini. Also, next to the button, allow the user to select the language for generation. Make sure the output is high-quality while still producing random results. Examples: “I’m hungry,” “The moon is beautiful,” “I want to eat karaage,” etc.

- For the example text shown when the text box is empty, make it display examples in various languages.

7

- Please ensure that things such as usage limits, light/dark theme settings, and the language selection for getseed are preserved even after the page is reloaded.
- Please double the daily request limit.
- Please make the contents of examples.json appear in a random order.
- Please make the getseed text cover a broader range of content and feel as random as possible, to the fullest extent possible.