Hacktoberfest!

We are excited to be tagging some of our projects for Hacktoberfest!

Sign up here to participate, contribute to our open source projects, and earn your customizable digital badge from Holopin:

Our tagged projects are on github here:

Submit a PR, reply here to link your contribution, and we will check it out! We will also be monitoring these repositories for updates.

If you want to contribute to a project not on this list, let us know and we tag it for you so you can get credit.

1 Like

Weā€™re happy to be able to provide up to 500,000 xx in rewards for contributions made during Hacktoberfest.

To apply, simply copy and paste your merge request or your repository to this thread and explain what you did. Weā€™ll judge submissions and give out awards in November.

Some suggested contributions with expected rewards:

  1. Responsive UI for Haven (100,000 xx)
  2. UI Fix for Haven (1,000 to 10,000 xx)
  3. Fix for xxDK, or another core library (10,000 - 100,000 xx)
  4. Haven <> Matrix relay bot (250,000 xx)

All community members are eligible for an award, except for anyone with an active contract with the xx foundation (i.e., myself, LordVetinari, Cryptowell, etc).

Happy Hacking

3 Likes

Very cool. This just runs through 31 Oct?

Also, where would the haven relay bot code go?

Good question, we will have to make a repository for it!

Yes but we will award anything posted before the 7th of november to honor the spirit of you probably having done the bulk of the work in October.

Empty for now, if youā€™re interested file a PR and let me know here.

Iā€™m also happy to take a look at a design (and give credit for however far you get, even if it doesnā€™t work).

1 Like

Just some quick updates and responses to common questions:

  1. We will start announcing awards next week inside this thread.
  2. The last day to submit is November 8th.
  3. The bounty was approved by the council, and will be funded on the next funding period in about 18 days: Bounty Link
  4. Awards will start going out after the bounty is funded, starting the week of November 11th, 2024.
  5. Larger awards (>50,000xx) will have a linear vest of 6-12 months. Smaller awards will not.
  6. Yes, awards have KYC requirements.

Re: relay bot - it doesnā€™t look like thereā€™s a functional API in Haven, I suppose adding that would be part of it?

A thought about Haven - Itā€™s pretty cool that you can run a local instance that uses cmix. So if someone censors haven.xx.network, someone can just get the docker image and run it.

Any interest in using Github actions (or Gitlab CI) to build a docker image automatically for each major release? Then have a simple wiki article on how to run your own local haven.

Edit: I could do it as a PR pretty easily, but I understand you do most of your dev on gitlab. It could still run and be hosted by github, but of course dependent on updates / releases being pushed to github.

You should check out developers channel (on xx Network Discord) more often, a Docker image has been shared for 1.5 years nowā€¦

We could do both, let me know what you need, update the readme, and submit a pr/mr.

Iā€™d prefer a docker image built by the foundation than a random on Github. But I do like their docker compose tor solution.

A Dockerfile is already provided in the official Gitlab repo, as you know itā€™s just 1 line to build it and change the image link in Docker compose files (which I suggest to do in my README.md as the preferred option, by the way).

The time-consuming parts are Caddy/Traffic/Tor integration followed by Dockerfile maintenance (the official one is still based on NodeJS v16), tuning (e.g. I had NodeJS telemetry disabled since day 1 in late 2022), testing and documentation, all of which are tasks peripheral to building.

Anyway, itā€™d be nice to have the official image - Iā€™ll just add another container image link option to my docs for those who donā€™t want to build their own.

Oh I didnā€™t realize the solution was yours, nice work.

1 Like

Thank you.

By the way, I donā€™t mind the ā€œrandomā€ characterization - it is kind of random, especially as I donā€™t disclose my real-life identity. Itā€™s true that people should build their own container or use official images.

Unfortunately, thereā€™s no way to way to create deterministic builds for Haven, so if people download some degree of ā€œtrustā€ is required.

I hope that ready-to-go container recipes and containers help builders more easily integrate with other apps and reach more home users (especially on ARM64).

At first I was using Gitlab but just couldnā€™t get automated container build workflow to work correctly (I think the related Gitlab issue is still open after 3 yearsā€¦). Github is much better, but they didnā€™t have multi-arch container build workflows when I moved there, so I build at home and upload manually. I should revisit that to see if it works now.

Hereā€™s what I got so far, @rick

  1. Tribler with Haven in iFrame - good for one-off access to Haven chats with Magnet links, as the moment you copy Magnet link and leave chat, Haven loses state and logs you out which most people who didnā€™t login just to get one link and leave would find that annoying. But those who want a built-in way to lock their Haven session when theyā€™re not accessing it may like this better.

  1. Haven with Tribler in iFrame - better for multiple downloads and chat, as you donā€™t get logged out. Itā€™s two minimal patches in build directory, one for Haven add an iFrame, another to Tribler to allow unauthenticated access from Haven IP/host (poor manā€™s workaround for proper cross-domain CORS). Iā€™m still working on this but the patches (Haven, Tribler) are in the repo, screenshots and other details in README.md in master. I hope to create a Docker compose

The patches are just several LoC each:

  1. Unrelated to (1) and (2), a Firefox toy add-on (with hard-coded vars in v1.0) that can be used from stand-alone Haven, but also in (2) above, for example. With this approach one canā€™t see whatā€™s going on with Tribler but the upside is instead of right-click + Copy you can do right-click + Download and thatā€™s all it takes. I need to add a settings page to make it useful (as Tribler settings are hard-coded now).
    GitHub - armchairancap/xx-tribler-haven: Proof-of-Concept for Tribler v8.0.1 with xx Network Haven

Screenshot of unpatched Haven in FF with the add-on in action:

Both 2 & 3 would benefit from Haven & Tribler in Docker compose, for Tribler API security and convenience reasons, so Iā€™ll try to build it for (2).

@rick - any info on this? The README.md says thereā€™s a hello.ts, but that file isnā€™t in the repo. Is this future plans?

I submitted PR #3 - Improve the Dockerfile and added a Github action for CI & to publish.

I see old gitlab CI scripts, but I donā€™t think the docker registry at docker-registry.xx.network is up or public.

1 Like