Giter Site home page Giter Site logo

Comments (13)

swilliams-dev avatar swilliams-dev commented on July 19, 2024 1

You may find some benift from the ability to test via local api...
https://habitica.fandom.com/wiki/Using_Your_Local_Install_to_Modify_Habitica%27s_Website_and_API
Should just require setting here... I could fork and rebuild, but this would be better to be a user definable var: https://github.com/ofekmiz/Habitica-Pomodoro-SiteKeeper/blob/master/SitePass/app/background.js#L4

from habitica-pomodoro-sitekeeper.

ofekmiz avatar ofekmiz commented on July 19, 2024 1

will do :)

from habitica-pomodoro-sitekeeper.

swilliams-dev avatar swilliams-dev commented on July 19, 2024 1

Apologies, I'm out of town currently, but will be back by end of month. Thanks for implementing, I'll be sure to test asap :)

from habitica-pomodoro-sitekeeper.

bootymcjudy avatar bootymcjudy commented on July 19, 2024 1

I just tested this on my own local install and it works! Using version 6.1.2 on Firefox
You need to append /api/v3/ to the end of the url.
Since I also did it on my local machine the url I used,
http://localhost:8080/api/v3/

from habitica-pomodoro-sitekeeper.

swilliams-dev avatar swilliams-dev commented on July 19, 2024

Also opened upstream: MHDante#13

from habitica-pomodoro-sitekeeper.

ofekmiz avatar ofekmiz commented on July 19, 2024

@swilliams-dev Hi, I'm not sure if I understand.... Can you explain what do you mean by "serverUrl in SitePass/app/background.js". Also there is no redirect DNS in this extension (unlike MHDante's extension) - I replaced the redirect to google with a website overlay.

Thanks

from habitica-pomodoro-sitekeeper.

ofekmiz avatar ofekmiz commented on July 19, 2024

If you mean to change the Habitica serverUrl for the API, it would be great if you explain in details what do you need for this to work. I never used Habitica locally but if you explain exactly what is needed I can add this feature :)

from habitica-pomodoro-sitekeeper.

swilliams-dev avatar swilliams-dev commented on July 19, 2024

I think just an easy option to modify the serverUrl should do it, it is for this setup:
https://habitica.fandom.com/wiki/Setting_up_Habitica_Locally_on_Docker

from habitica-pomodoro-sitekeeper.

ofekmiz avatar ofekmiz commented on July 19, 2024

@swilliams-dev Sorry for the delay. It's a simple feature but I have other priorities for now. Thank you for your patient!

from habitica-pomodoro-sitekeeper.

ofekmiz avatar ofekmiz commented on July 19, 2024

@swilliams-dev added this option for the next update
image

Please note that I couldn't install habitica locally (I got some errors during installation and I'm still trying to fix it). so I didn't test it properly...
Stay tuned for the update and please let me know if it works for you.

from habitica-pomodoro-sitekeeper.

ofekmiz avatar ofekmiz commented on July 19, 2024

@swilliams-dev any update? :)

from habitica-pomodoro-sitekeeper.

ofekmiz avatar ofekmiz commented on July 19, 2024

@swilliams-dev any updates? :)

from habitica-pomodoro-sitekeeper.

swilliams-dev avatar swilliams-dev commented on July 19, 2024

Sorry for the insane levels of delay... I just got it up in docker and can test it out. How do I build/install this from your fork @ofekmiz?

from habitica-pomodoro-sitekeeper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.