Search results

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

  1. black-raison-detre

    Idea for better web Addons

    Now working on Vuejs template. vuejs-template for web addons The idea is, develop and test the addon page locally, using Vite. API call will be proxied to router. Still need to figure out how the login page work and get the auth token for proxied api call.
  2. black-raison-detre

    Idea for better web Addons

    I just thinking, maybe changing the name of the config file addon_settings.txt to addon_menus.txt is more appropriate. Also why the 20 tabs limit on Tools tabs? Are there any more limitations on how many menus and tabs can be added to the UI? Currently I haven’t put any limitations on tabs and...
  3. black-raison-detre

    Idea for better web Addons

    More update: Latest commit So here is what i have done to the webUI create a new ej_function in httpd to read the /jffs/addons/addon_settings.txt. (Mostly just copy&paste existing ej_get_custom_settings()) modify menuTree.js, read the config_file. If web_addons flag is enable. Add new entry to...
  4. black-raison-detre

    Idea for better web Addons

    Well, didn’t notice this one and I am a Mac user 🤦‍♂️. But I am just using it for testing css. Not going to include any actual icon in the firmware.
  5. black-raison-detre

    Idea for better web Addons

    I download it on svgrepo.com. MIT license. https://www.svgrepo.com/svg/452159/app-store
  6. black-raison-detre

    Idea for better web Addons

    Source code updated. A new way to add add-on webpage Now it looks like this And the setting file. I just reuse the tools page because I dont have a test page ready yet. web_addons 1 Test_Addon menu_Addon&Tools_Sysinfo.asp&Sysinfo&Tools_OtherSettings.asp&Other_Settings
  7. black-raison-detre

    Idea for better web Addons

    Some api if you are interested. All of them use js fetch method appGet.cgi Get values, by http query string, method GET fetch('/appGet.cgi?hook=<insert method here>', { credentials: 'same-origin' }).then(resp => console.log(resp)) example method: nvram_get(<nvram_vals>) for multiple values...
  8. black-raison-detre

    Idea for better web Addons

    I have some new idea about extending the webUI My previous post here I am currently pocking with httpd webAPI and I think I have figured out most of it. currently I am able to get & set nvram_settings, trigger rc_service script, reading and writing /jffs/addons/custom_settings.txt. In my...
  9. black-raison-detre

    Adding APIs to httpd

    Btw, If anyone want to know about how to use js api call to change settings, feel free to ask. I think I have figured out most of it
  10. black-raison-detre

    Adding APIs to httpd

    I am trying to add api to merlin's firmware, currently testing it on GT-AC2900. I want to create an appCentre for future addons using Vuejs because the current add-on method is too limiting. I actually have figured out how to change nvram values, trigger rc_service script using js fetch though...
Top