Thanks for wanting to help make Hyperamp better! Here are some general guidelines for helping out.
This project is intended to be a safe, welcoming space for collaboration. All contributors are expected to adhere to the Contributor Covenant code of conduct. Thank you for being kind to each other!
Before spending lots of time on something, ask for feedback on your idea first!
Please search issues and pull requests before adding something new! This helps avoid duplicating efforts and conversations.
This project welcomes any kind of contribution! Here are a few suggestions:
- Ideas: participate in an issue thread or start your own to have your voice heard.
- Writing: contribute your expertise in an area by helping expand the included content.
- Copy editing: fix typos, clarify language, and generally improve the quality of the content.
- Formatting: help keep content easy to read with consistent formatting.
- Code: help maintain and improve the project codebase.
This repository uses standard
to maintain code style and consistency, and to avoid style arguments.
Hyperamp is an experimental audio player built with web technologies (choo + electron). We recommend getting familiar with JavaScript, HTML, and CSS before jumping into coding.
This project is a module party. That just means everything you should need to get it up and running after cloning the repository is summed up by these three lines:
npm install
npm test
npm start
TL;DR: before getting started, make sure to run npm install
.
start
- start the app in development modeprod
- start the app in production modetest
- run all testsbuild
- create a test build of the app for debugging purposespkg
- package the production version of the app for releaserelease
- create a new release
These directories are included in the packaged application.
lib
- files shared bymain
andrenderer
main
- files for the main electron processrenderer
- files for the renderer processes (player & audio)
These directories are not included in the packaged application.
build
- build resources forelectron-builder
dist
- this is where the app gets built to when packaging the appdocs
- any files related to documentationscripts
- miscellaneous scripts for development taskstest
- files for testing the application
- Ensure all tests are passing.
- Create the new version section in
CHANGELOG.md
. - Bump the version in
package.json
. Should match the version you just created inCHANGELOG.md
. - Run
npm run release
. This will create a github release draft. - Travis-CI (for Linux and Mac) and Appveyor (for Windows) will start uploading builds to the release draft.
- Wait for uploads to finish. Check that everything worked during build by checking CI logs.
- Make sure tag format is
vX.X.X
(auto-update is picky about URL names). - Publish the draft.
- Clients will automatically download the new version next time they start.
Our release process is based on electron-builder's Recommended GitHub Releases Workflow.
This is an OPEN Open Source Project.
Individuals making significant and valuable contributions are given commit access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
There are a few basic ground rules for collaborators:
- No
--force
pushes to master or modifying the Git history in any way. - Non-master branches ought to be used for ongoing work.
- External API changes and significant modifications ought to be subject to an internal pull request to solicit feedback from other contributors.
- Internal pull requests to solicit feedback are encouraged for any other non-trivial contribution but left to the discretion of the contributor.
- Contributors should attempt to adhere to the prevailing code style.
Declaring formal releases remains the prerogative of the project maintainer.
This is an experiment and feedback is welcome! This document may also be subject to pull requests or changes by contributors where you believe you have something valuable to add or change.