It's a tool for reading github code in the brower using Monaco editor. It helps in skimming the codebase with ease and have features like multiple open files.
Here is the link for the live demo, give it a try
cd wordoid
npm install
npm start
First, you need to fork the Wordoid
repo. You can do this by clicking the Fork
button on the top right corner of the repo. If you are new to forking, please watch this YouTube Guide to get started.
Once forked, you can clone the repo by clicking the Clone or Download
button on the top right corner of the forked repo.
Please change the directory after cloning the repository using the cd <folder-name>
command.
Note: Create a
.env.local
file. Update yourenv variable
likeVITE_GITHUB_TOKEN
. If you don't know how to get token follow this article.
Next, install the dependencies by running the following command in the Wordoid
repo. we recommend using yarn
but you can install using npm
too
yarn install
Or
npm install
if you don't have yarn
installed on your PC, follow the steps below to install it..
Windows
- open your command prompt as administrator.
- write
corepack enable
and hit enter. - then
npm install --global yarn
Linux - open terminal and hit
npm install --global yarn
MacOS - open terminal and hit
npm install --global yarn
orbrew install yarn
Or Download Package If you are unable to install yarn following the above-mentioned process, then you can simply download the package and install it. Visit the official website of Yarn; there you can just expand the "Alternative" section and it will ask for the version to download for Windows, Linux, or Mac.https://classic.yarnpkg.com/en/docs/install#windows-stable
Note:
Wordoid
runs on React 18. However, some of the dependencies are yet to upgrade to version 18. So please use the following command when you face difficulties installing the dependencies. Also, ensure to use Node.js version >= 16.x
Use the following command to start the app in the development mode:
yarn run dev
or if you installed dependencies using npm
use below command
npm run dev
It runs the app in development mode. Open http://localhost:5173 to view it in your browser.
The page will reload when you make changes.
You can refer to the following articles on the basics of Git and Github and also contact me, in case you are stuck: