Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 09 02:17
    ulises-castro commented #53
  • Jun 01 22:04
    CLAassistant commented #68
  • Jun 01 22:04
    dependabot[bot] labeled #68
  • Jun 01 22:04
    dependabot[bot] opened #68
  • Jun 01 22:04

    dependabot[bot] on pip

    Bump urllib3 from 1.22 to 1.26.… (compare)

  • May 22 07:11
    tejasjyothishetty opened #67
  • May 22 06:19
    tejasjyothishetty opened #66
  • Apr 20 17:05
    joedownloads1 opened #65
  • Mar 29 16:57
    CLAassistant commented #64
  • Mar 29 16:57
    dependabot[bot] labeled #64
  • Mar 29 16:57
    dependabot[bot] opened #64
  • Mar 29 16:57

    dependabot[bot] on pip

    Bump pygments from 2.2.0 to 2.7… (compare)

  • Mar 25 21:51
    CLAassistant commented #63
  • Mar 25 21:51
    dependabot[bot] labeled #63
  • Mar 25 21:51
    dependabot[bot] opened #63
  • Mar 25 21:50

    dependabot[bot] on pip

    Bump pyyaml from 3.12 to 5.4 B… (compare)

  • Mar 19 22:02
    CLAassistant commented #62
  • Mar 19 22:02
    dependabot[bot] labeled #62
  • Mar 19 22:02
    dependabot[bot] opened #62
  • Mar 19 22:02

    dependabot[bot] on pip

    Bump jinja2 from 2.10 to 2.11.3… (compare)

aniketpanjwani
@aniketpanjwani
Also, that's really terrific that you've got it working on Arch! If you're able to create an installer shell script, that would be really helpful. I was trying to get it working on Arch a while ago and gave up - if I recall correctly, th emain pain point was just installing cron and getting cron on path.
I would be happy to set up a time to work with you on the shell script if you wanted. And pipenv is terrific - been using it for a few months now
Sebastian Bolaños
@sebohe
^ Good point, I already had cron installed so I didn't have to isntall it
I forked the installer repo
added a new file. I stripped out a lot because it wasn't compatible with my current virtualenv setup.
My idea is to make it an AUR package.
Sebastian Bolaños
@sebohe
Do you prefer to have a single installer script or a different script for each distro?
aniketpanjwani
@aniketpanjwani
Looking at the file. It looks really good. one though - it looks like you're installing mitmproxy globally - is that a good idea?
I'd prefer a single script.
If you made into an AUR package, that would be terrific. I have to confess though - I know very little of what's involved in doing that
Sebastian Bolaños
@sebohe
I already have my own virtualenv. So it isn't installing globally and I agree that it isn't t a good idea to install it globally.
I don't know how to tackle the virtualenvs issue. Since everyone will have their own configuration or none at all. But pipenv seems to automatically load a venv. Need to play around with it a little more.
aniketpanjwani
@aniketpanjwani
I think the actual end goal should be to use pyinstaller(https://www.pyinstaller.org/) to create a stand alone executable, which includes all requirements and the interpreter bundled in one file. I should look into how much more work this is. Then, the installation shell script could just do the small pieces of necessary configuration.
I agree that the virtualenv is a bit of a conundrum. We might be able to include some control flow in the shell script detecting different types of likely virtualenv configurations, but that could be a pain in the ass. It would be nice if it was possible to adapt pipenv in a way which plays nicely with existing configurations, but I know - for example - that it doesn't coexist well with pyenv-virtualenv
Sebastian Bolaños
@sebohe
I've used pyinstaller. So you want to make an executable that people could just download and run?
I thought I had it working, but the browsers are not liking the new certs
aniketpanjwani
@aniketpanjwani
Correct. It would be just something they can put in their /usr/bin or /usr/local/bin (or whatever the arch analog is). And maybe when the program is first called, it could check that the configuration is all correctly done.
So, that would actually obviate the need for any sort of installer script.
Yes - getting certificates working was the other pain point on Arch.
Sebastian Bolaños
@sebohe
My script still needs some work. It isn't ready yet for a smooth installation but I will gladly implement the same structure as the debian script to keep some parity.
aniketpanjwani
@aniketpanjwani
great - looking forward to seeing it!
Orion
@systmkor_gitlab
@aniketpanjwani Hey. I listened to the FLOSS podcast (when it was released) and thought it would be a great project to contribute to. I have been tinkering around with it and refactoring some of the code. I'm hoping to have it in a more fully working state soon and hope to make a pull request soon.
I would love to hear your thoughts on what I've pushed so far to my fork. https://github.com/systmkor/chomper/tree/refactor
Adrian Borucki
@ntoxeg
@systmkor_gitlab Hey, I've been tinkering with this project too, so far I've done some work to make it a proper Python package (setup.py, etc.)
I've been thinking about making a Snap/Flatpak for it.
Orion
@systmkor_gitlab
@danlupei awesome. I think providing a self-contained app as an install option is a good idea. I assume it would be something like a makefile target.
aniketpanjwani
@aniketpanjwani
Hey @systmkor_gitlab - this is really cool. I'm going to check it out the fork this weekend and will get back to you by Monday morning at the latest. Happy to jump on Skype with either of you sometime to discuss any ideas have!
Oliver Pablo
@OliverPablo4_twitter
Hi @aniketpanjwani I tried to install chomper on Elementary Loki (Ubuntu based) and it seemed to install but when I try to activate a block I get the message 'chomper: command not found'. At the end of the installation process I get the message 'Chomper directory detected. Remove the directory with '$ rm -rf ~/chomper' to use this script.' If you can help me to get Chomper working on my system I'd be v grateful.
Mela Eckenfels
@Mela
Hello.
spextr
@megaspextr_twitter
slack is not working when i use chomper, how is that possible?
i tried to not have any domains blacklisted at all, or not related to slack
Miheer Dewaskar
@miheerdew
@aniketpanjwani Is the project dead? I was wondering what can be done to make the architecture simple and more cross platform.
dluxcru
@dluxcru
If anyone is actually here, have a bug: chomper latenight 2
Traceback (most recent call last): File "/home/dluxcru/chomper/chomper/block.py", line 144, in <module> main() File "/home/dluxcru/.local/share/virtualenvs/chomper-_VT078ST/lib/python3.6/site-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/home/dluxcru/.local/share/virtualenvs/chomper-_VT078ST/lib/python3.6/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/home/dluxcru/.local/share/virtualenvs/chomper-_VT078ST/lib/python3.6/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/dluxcru/.local/share/virtualenvs/chomper-_VT078ST/lib/python3.6/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/home/dluxcru/chomper/chomper/block.py", line 75, in main new_block_start, new_block_end) File "/home/dluxcru/chomper/chomper/block.py", line 110, in create_block_dict for key, value in yaml_import.items()} File "/home/dluxcru/chomper/chomper/block.py", line 110, in <dictcomp> for key, value in yaml_import.items()}
dluxcru
@dluxcru
acronkright
@acronkright
Hey everyone! I couldn't find this answered anywhere in the documentation: can I use Chomper while using a VPN? I want to use ProtonVPN which on Linux works through OpenVPN but before I buy a plan I wanted to see if Chomper would work (productivity is important!). Cheers
Augustas
@AugustasV
Hello, what about GUI for Chomper program? Because I am thinking to switch from Windows to Linux, used cold turkey alot and have hard time to find program like that on Linux, not really interested in plugins for browsers
Oh I just saw note at Github that creating GUI is in progress. I want to help!
Doesn't have much experience at coding and stuff but still
mrbig033
@mrbig033
Hi. I'm having trouble using Chomper, it successfully blocks my internet, but it doesn't unblock it anymore.
mrbig033
@mrbig033
AFAIK, I did everything like it says on the readthedocs. But no matter what rule I use, Chomper never unblocks it.
I'm using a Debian Stable based distro (MX Linux 17), and I installed using the recommended script
These are my dotfiles: https://github.com/mrbig033/dotfiles
That's my yaml (I just added the testing group): https://hastebin.com/ajopafinul.makefile
The system is normal after rebooting
Andrei Berceanu
@berceanu
Suppose I install chomper using the recommended Debian script, how can I uninstall it?
asdf863
@asdf863

benny@benny-PC:~$ chomper block 5
Error processing line 1 of /home/benny/.local/share/virtualenvs/chomper-K6LnOsOG/lib/python3.6/site-packages/_virtualenv.pth:

Traceback (most recent call last):
File "/home/benny/.pyenv/versions/3.6.4/lib/python3.6/site.py", line 168, in addpackage
exec(line)
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named '_virtualenv'

Remainder of file ignored
Error processing line 1 of /home/benny/.local/share/virtualenvs/chomper-K6LnOsOG/lib/python3.6/site-packages/_virtualenv.pth:

Traceback (most recent call last):
File "/home/benny/.pyenv/versions/3.6.4/lib/python3.6/site.py", line 168, in addpackage
exec(line)
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named '_virtualenv'

Remainder of file ignored
Traceback (most recent call last):
File "/home/benny/chomper/chomper/block.py", line 12, in <module>
import click
ModuleNotFoundError: No module named 'click'

Can someone please help to get this work?
joedownloads1
@joedownloads1
hello i am having a problem with chomper:
i installed it with the help of a great guide here: https://chomper.readthedocs.io/en/latest/
and i am using it with the command but it gives me response in the terminal:
No virtualenv has been created for this project yet!
File "/location/chomper/chomper/block.py", line 33 def main(rules_path: str, settings_json_path: str, rule: str,
^
SyntaxError: invalid syntax