https://github.com/golemfactory/golem-js-preview-program
https://github.com/golemfactory/golem-js-preview-program
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/golemfactory/golem-js-preview-program
- Owner: golemfactory
- Created: 2023-03-07T15:04:35.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-12-13T20:43:19.000Z (over 2 years ago)
- Last Synced: 2024-10-01T01:57:26.210Z (over 1 year ago)
- Language: JavaScript
- Size: 123 KB
- Stars: 3
- Watchers: 5
- Forks: 18
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Golem JS Preview Program
Welcome to the Golem JS Preview Program repository!
It contains a set of tasks based on the Golem JS SDK. By completing them you will learn how to write JS applications that will execute your tasks on the Golem Network.
The program is based on the latest @golem-sdk/golem-js library and our new [documentation](https://docs.golem.network/docs/creators/javascript).
To participate in the program and win prizes you must be recruited for one of the program rounds. Even if we do not run the program at the given moment, you are welcome to use the tasks to facilitate your tour with Golem and JS SDK. We would appreciate your feedback to help us improve the Golem Network, JS SDK, and docs.
If you encounter any issues during the work on the tasks ask on the
[Discord](https://chat.golem.network/) `#js-discussion` channel in the SDK section.
We also encourage you to visit https://www.golem.network/, where you can find more information about our open-source project.
---
## Available Tasks
### [Task #0 - Yagna Setup](tasks%2F0-yagna-setup)
You will discover how to set up and operate the Yagna service, enabling you to execute tasks on the Golem Network and acquire funds on the testnet.
### [Task #1 - Run a task in the Golem Network](tasks%2F1-run-a-task)
You will learn how to create a script that will utilize the provided image and how to run a task on a remote node. On the practical side, you will use `fortune` to generate a motivation phrase.
### [Task #2 - Download results from Provider](tasks%2F2-get-the-results)
You will learn how to run a task on a remote node and how to download the result to your machine. On the practical side, you will use Golem to generate text-to-speech audio.
### [Task #3 - Build your custom Golem image](tasks%2F3-build-your-image)
You will learn how to create a custom image and run a script that utilizes it. On the practical side, you will build a Docker image with your script.
### [Task #4 - Send files](tasks%2F4-send-files)
You will learn how to upload and download files. On the practical side, you will play with an OCR tool.
### [Task #5 - Run tasks in parallel](tasks%2F5-run-tasks-in-parallel)
You will learn how to run tasks in parallel. On the practical side, you will upscale anime images.
### [Task #6 - Initialise workers](tasks%2F6-initialise-workers)
You will learn how to initialize the workers and indicate how many of them you want to engage. On the practical side, you will see how to speed up your tasks by avoiding unnecessary data transfer.
### [Task #7 - Run requestor in a browser](tasks%2F7-run-requestor-in-browser)
You will learn how to run a requestor from a browser. On the practical side you will run some image converting tools.
### [Task #8 - Select providers](tasks%2F8-select-providers)
You will learn how to specify the desired requirements of a provider and filter through their proposals. On the practical side, a touch of math will guide you in estimating the expected price.
### [Task #9 - Use Golem as backend](tasks%2F9-use-as-backend)
You will learn how to utilize Golem to offload your system. On the practical side, you will use speech-to-text AI software without installation.
### [Task #A - Run the task on mainnet](tasks%2FA-run-on-mainnet)
You will learn how to run the tasks on a mainnet network using real Golem tokens. On the practical side you will acquire some tokens to pay for your task.
---
## Useful links:
- Javascript docs: https://docs.golem.network/docs/creators/javascript
- Need help? Go to https://chat.golem.network/ & find the `#js-discussion` channel in the SDK section
- Official Golem Network website: https://www.golem.network/
**What is the Golem Network?**
The Golem Network is a flexible and open-source platform that harnesses the power of decentralization for accessing and sharing computational resources.
We are building a new open-source world that everyone has the right to enter.
**Our new Golem JS SDK lets you:**
- Develop distributed open-source computing solutions for a wide range of use cases.
- Run tasks on the Golem Network directly from your browser.
- Create serverless applications using Golem as your computation backend.