Jump to content

rAthena Text Editor (Offline, Browser-Based)


Recommended Posts


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   12
  • Joined:  02/15/21
  • Last Seen:  

Posted (edited)

Hello guys,

this is my rAthena Text Editor (Offline), a lightweight, browser-based tool I created for editing rAthena scripts (syntax highlight) without needing any installation or internet connection.

Features:

  • NOW, integrated with the Gemini Chatbot API for the Editor! Just ask it, and it will provide code for you directly in rAthena Text Editor. 😄 Simply provide your Gemini API key. We're using the latest and fastest Gemini model: "gemini-2.5-flash-preview-05-20".

  • image.thumb.gif.faf600ad93c73b54d444267501dbe6ca.gif

  • Edit your scripts directly in your browser

  • Download your code as a .txt file after you're done

  • Open existing .txt files to continue editing

  • Toggle between Dark Mode and Light Mode for better readability

  • Autocomplete suggestions
  • image.thumb.png.9d9aafe36f820e1d2db22d6fb44c38a6.png

  • Added a CTRL+S feature and SAVE button.

  • The tab title now updates based on the file you open or created/saved as.

  • Drag and drop .txt files to get the data of txt file

  • Works on mobile but on Chrome and Edge only.

  • Added some rathena scripting keywords to highlight. <-- this is most tiring xD

  • Works 100% offline – no installation, no internet, no hassle

 

This is a simple tool made for convenience, especially for fellow scripters who want to work quickly without setting up a full IDE. Feel free to check it out, use it, or suggest improvements. Thanks and happy scripting!

 

Screenshots:

lightmode1.thumb.png.46f50f5cc794290781346211b0c6b83c.png

darkmode1.thumb.png.f390ad68a0323b5d126959f2e0740dc9.png

Edited by Jinun
  • Upvote 5
  • MVP 1
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.03
  • Content Count:  17
  • Reputation:   34
  • Joined:  09/11/24
  • Last Seen:  

Posted (edited)

Suggestions:

- Make it also available as a GitHub page. If you have a slot for it, it'd be great to have it just be available online too on your github.io.

- Button to save as .cpp in one click (I prefer it over .txt, works the same but has highlighting, I know I can manually change but :effort:)

- Button to Copy All (in case we want to copy paste our file contents instead of downloading)

- Allow drag and drop to Open File

- Autocomplete (could be hard to implement, but would be huge help if it used script_commands to autocomplete and offer help, like displaying "*message "<character name>","<message>";" when you type "mess...")

I find it cool, I had to setup my Notepad++ to not bug out with rAthena syntax so I'm sticking with it for now, but if it gets a few more features it could end up being worth over NP++, good work

Edited by TBlazeWarriorT
clarify
  • Like 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   12
  • Joined:  02/15/21
  • Last Seen:  

Posted (edited)

Update:

  • Added a Ctrl+S feature and SAVE button.

  • The tab title now updates based on the file you open or created/saved.

  • Drag and drop .txt files to get the data of txt file

  • Added some rathena scripting keywords to highlight. <-- this is most tiring xD

Edited by Jinun
  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   12
  • Joined:  02/15/21
  • Last Seen:  

Update:

  • Added Autocomplete suggestions
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   12
  • Joined:  02/15/21
  • Last Seen:  

UPDATES!!

  • NOW, integrated with the Gemini Chatbot API for the Editor! Just ask it, and it will provide code for you directly in rAthena Text Editor.  Simply provide your Gemini API key. We're using the latest and fastest Gemini model: "gemini-2.5-flash-preview-05-20".

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.01
  • Content Count:  75
  • Reputation:   8
  • Joined:  06/11/23
  • Last Seen:  

Is this an error?

Screenshot 2025-06-03 201124.png

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   12
  • Joined:  02/15/21
  • Last Seen:  

21 hours ago, Akbare-2nd said:

Is this an error?

Screenshot 2025-06-03 201124.png

1st is Download the Repo.

2nd Get you your APIKey here: https://aistudio.google.com/apikey, you need a google account.

3. After getting the APIKey, Put your APIKey at myGeminiAPIKey.js

4. Now, its ready to talk to you.

  • Love 1
Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  23
  • Reputation:   12
  • Joined:  02/15/21
  • Last Seen:  

Updates:

  • The rAthena Text Editor is now running on the Google SDK Sandbox to support the Gemini Chatbot’s long context capabilities and increase the API limit.
  • The chatbot has been fully supervised-trained using the script_commands.txt and status_change.txt documentation. With this training, the chatbot is now intelligent enough to serve as your coding assistant capable of code generation, conceptual code review, troubleshooting, best practices guidance, and information retrieval based on the provided documentation.
Edited by Jinun
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...