├── .prettierrc
├── MIT_LICENSE
├── README.md
├── images
├── dino.svg
├── flag-orpheus-top.png
├── github.svg
├── pr.svg
└── slack.svg
├── index.html
├── script.js
└── style.css
/.prettierrc:
--------------------------------------------------------------------------------
1 | {
2 | "trailingComma": "none",
3 | "tabWidth": 2,
4 | "printWidth": 80,
5 | "semi": true,
6 | "singleQuote": false
7 | }
8 |
--------------------------------------------------------------------------------
/MIT_LICENSE:
--------------------------------------------------------------------------------
1 | The MIT License (MIT)
2 |
3 | Copyright (c) 2015-2022 Hack Club
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy of
6 | this software and associated documentation files (the "Software"), to deal in
7 | the Software without restriction, including without limitation the rights to
8 | use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9 | the Software, and to permit persons to whom the Software is furnished to do so,
10 | subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17 | FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # Contribute to Hack Club
2 |
3 | Hack Club is a nonprofit network of high school coding clubs and makers around the world. The Hack Club community has over 250 open source repositories, many of which are being actively developed every day. What makes these repositories open source is that they are editable by the public, which encourages you, the Hack Club community, to come together and work on code socially. Contributions can be made in many ways, like tracking bugs and features by opening a GitHub issue, editing code by creating a GitHub pull request, and reviewing pull requests made by others. We welcome and encourage your contributions, and we look forward to seeing the things you create!
4 |
5 | ## How it works
6 |
7 | This page uses GitHub's unauthenticated API to pull down public repositories from an organization. We use JavaScript to clone an example element and use that to populate the repository elements on the page.
8 |
9 | ## Contributing
10 |
11 | Contributions are encouraged and welcome! Feel free to submit a pull request with code changes, or open issues for suggestions or bug reports.
12 |
13 | Development chatter happens in the [#hackclub-site-dev](https://app.slack.com/client/T0266FRGM/C036BTDGP43) channel in the [Hack Club Slack](https://hackclub.com/slack/).
14 |
15 | ## Running Locally
16 |
17 | 1. Clone this repository
18 | - `git clone https://github.com/hackclub/contribute.git && cd contribute`
19 | 1. Start server
20 | - `python -m SimpleHTTPServer`
21 | 1. View your server
22 | - `open http://localhost:8000/`
23 |
24 | ## Debugging Tools
25 |
26 | There are some special URL fragments you can add to test things:
27 |
28 | * `#force-no-repos` will force the "no repositories with open issues" message to show
29 | * `#force-loader` will force the loader to show infinitely
30 | * `#force-error` will force the error message to show
--------------------------------------------------------------------------------
/images/dino.svg:
--------------------------------------------------------------------------------
1 |
14 |
--------------------------------------------------------------------------------
/images/flag-orpheus-top.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/hackclub/contribute/63240f962648cdcc120b288fd186c125f9056518/images/flag-orpheus-top.png
--------------------------------------------------------------------------------
/images/github.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/images/pr.svg:
--------------------------------------------------------------------------------
1 |
4 |
--------------------------------------------------------------------------------
/images/slack.svg:
--------------------------------------------------------------------------------
1 |
7 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
60 | A list of active
61 | Hack Club
62 | open source repositories on
63 | GitHub
64 |
65 |
66 |
67 |
68 |
69 | Hack Club is a
70 | nonprofit network of high school coding clubs and makers around the
72 | world. The Hack Club community has
74 | over 250 open source repositories, many
75 | of which are being actively developed every day. What makes these
76 | repositories open source is that they are
77 | editable by the public, which encourages
78 | you, the Hack Club community, to come together and collaborate on code
79 | socially.
80 |
166 | If you're new here, scroll down for steps to
167 | get started!
168 |
169 |
170 |
171 | Note: This guide assumes you have a
172 | GitHub account,
173 | git
178 | set up on your machine, and a
179 | text editor
182 | for editing the code.
183 |
184 |
204 | Contributions can happen in a lot of ways. Adding
205 | issues, creating pull requests,
206 | and reviewing
207 | existing pull requests are a few of those ways.
208 |
218 | A fork is a copy of a repository that you manage. Forks let you
219 | make changes to a project without affecting the original code. You
220 | can create this copy by clicking on the "Fork" button at the top
221 | right of the repository page.
222 |
234 | Cloning a repository is how you download the repository's code to
235 | your computer. You can clone the repository by clicking the green
236 | "Code" button on the repository page.
237 |
249 | Pull requests are how you suggest your code edits! The maintainers
250 | of the repository may comment on your pull request, ask for
251 | changes, or approve it right away and merge it in.
252 |
253 |
254 |
255 |
256 |
257 | Congratulations, you're now an
258 | open source contributor!
259 |
260 |
261 |
262 |
263 |
264 |
New here? Welcome!
265 |
266 | Hack Club
267 | is a nonprofit network of high school coding clubs and makers around
268 | the world. We are so happy to have you!
269 |
298 | Pull requests are the way we edit each others code. Follow the
299 | link above for an interactive demonstation on how to make a pull
300 | request!
301 |
310 | As a Hack Clubber, you are always learning and building things.
311 | Scrapbook allows you to share updates on the things you're doing
312 | with the rest of the Hack Club community.
313 |