some key points:
1: make a beautiful README file
2: use some GIF (google some tools to convert videos into gif)
3: must have a HOW-TO section to help people use your codes.
4: if someone opens an issue, fix it ASAP.
5: if many people asks the same questions, put it into FAQ in README.