Comments (13)
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.
will do :)
from habitica-pomodoro-sitekeeper.
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.
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.
Also opened upstream: MHDante#13
from habitica-pomodoro-sitekeeper.
@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.
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.
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.
@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.
@swilliams-dev added this option for the next update
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.
@swilliams-dev any update? :)
from habitica-pomodoro-sitekeeper.
@swilliams-dev any updates? :)
from habitica-pomodoro-sitekeeper.
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)
- Change the Block Image
- Blocked site overriding whitelisted sites
- Muted sites Unmute by Themselves whenever I start pomodoro
- Whenever I open a whitelisted site while in break it automatically unmutes
- Suggestion: Pause Pomodoro without full restarting the timer HOT 1
- [Function suggesstion] Force to Turn off all notification and sound when turn on Focus mode
- Quick Setup HOT 2
- Bug: cannot block sites in Firefox HOT 4
- Tasks are inconsistent, here's pseudocode for a workaround involving todos. (Drawback: takes 60 seconds)
- Settings reset when I shut down my computer
- Block everything on the web except whitelisted sites
- Pay to pass not working HOT 2
- a feature to register a day hours after 3 am or something similar
- i ask you if you can make pomodoro-sitekeeper block also applications. HOT 1
- Question: can I change habit and reward names? HOT 4
- Time's Up ERROR: Failed to score task null HOT 2
- Set timezone / show time the addon thinks it is
- Blocking sites by keywords
- Sync Pomodoro History Across Devices
- Sites blocked even when timer is not running HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from habitica-pomodoro-sitekeeper.