You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
YSWS-Catalog is a web-based directory showcasing Hack Club’s "You Ship, We Ship" (YSWS) programs. Each YSWS program rewards participants for building and shipping projects—hardware, software, art, and more—by sending them physical or digital goodies. This repository hosts the source code for the catalog, allowing anyone to explore, filter, and learn about these initiatives. If you want to add or update a program, feel free to submit a pull request!
Features
Dynamic Program Listing: All YSWS programs are defined inscript.js for easy editing.
Filtering by Status: Quickly filter programs byAll,Active,Upcoming, orCompleted.
Search Functionality: Easily search for programs by name, description, or Slack channel to find exactly what you're looking for.
Program Detail Modal: Click on a program to view detailed information in a modal window, including participation steps and additional details.
Theme Toggle: Switch between light and dark modes to suit your preference and improve accessibility.
Deadline Indicators: Visual indicators for program deadlines, highlighting urgent and very urgent statuses to help prioritize participation.
Real-time Deadline Updates: Deadlines are updated in real-time to reflect the current status, ensuring information is always up-to-date.
Responsive Design: Optimized for various screen sizes and devices, providing a seamless experience on desktops, tablets, and mobile devices.
RSS Feed: Subscribe to get notifications about active YSWS programs in your favorite RSS reader.
Ensurestyles.css andscript.js are in the same directory.
Filter Programs:
Use the top buttons (All,Active,Ending Soon,Upcoming,Completed) to filter the displayed programs.
Search Programs:
Use the search bar to find programs by name, description, or Slack channel.
Toggle Theme:
Click the 🌙/☀️ button to switch between dark and light modes.
RSS Feed
You can subscribe to updates about active YSWS programs using our RSS feed:
Feed URL:https://ysws.hackclub.com/feed.xml
This feed is automatically updated whenever new programs are added or existing programs' statuses change. You can use this feed with any RSS reader like Feedly, Inoreader, or apps like Glance to get notified about new opportunities.
Project Structure
index.html: The main HTML file containing the container for program cards and the modal structure.
styles.css: Styles for the layout, cards, typography, responsiveness, and theme toggling.
script.js: Contains the programs data and logic for:
Rendering program cards
Counting active programs
Filtering by program status
Searching programs
Handling theme toggling
Managing program detail modals
Updating deadlines in real-time
Data Source & Example
All programs are defined in theprograms object insidescript.js. They are categorized into arrays such asindefinite,limitedTime,upcoming,additional,noYouShip, andcompleted.
Each program object can include:
Required Fields:
name: Program name
description: Short description of the program
status:active,upcoming, orcompleted
Optional Fields:
website: URL ornull
slack: Slack channel URL ornull
slackChannel: Slack channel name ornull
deadline: When the program ends (for active/upcoming time-limited programs)
ended: When the program ended (for completed programs)
opens: When the program opens (for upcoming programs)
detailedDescription: A more detailed description for the modal view
steps: Custom participation steps
requirements: Array of requirements to participate
details: Array of additional details
Real Example From This Repository
Below is an example from thelimitedTime category indata.yml:
name:HackCraftdescription:Create a Minecraft mod, and Hack Club sends you Minecraft Java!website:https://hackcraft.hackclub.com/slack:https://slack.com/archives/C07NQ5QAYNQslackChannel:"#mc-modding"status:activedeadline:2025-01-31T23:59:59detailedDescription:Join HackCraft to build and ship your own Minecraft mod. Access exclusive resources and a supportive community.steps: -Make a mod. -Publish it on Modrinth or Hangar. -Submit your mod to Hack Club. -Receive Minecraft Java Edition and enjoy!requirements: -Basic knowledge of Java programming. -A passion for Minecraft modding.details: -Participants will receive a Minecraft Java Edition account upon successful submission. -Support is available through our Slack community.
Contributing
Fork this repository.
Create a new branch for your changes:
git checkout -b add-new-program
Add or update a program: Editscript.js and modify theprograms object.
Commit and push your changes:
git commit -m"Add a new YSWS program"git push origin add-new-program
Open a Pull Request: On GitHub, open a PR from your fork to this repository and provide a description of your changes.
About
You ship, We ship! Our way to validate and reward people building real things.