MidnightHours.site is a unique website that only works between 12:00 AM and 5:00 AM. You can access it once per day, and outside of that window, the site remains locked.
Each night, a random scary story is picked for everyone to experience together.
First off, thanks for taking the time to contribute! β€οΈ You can contribute by:
- Adding New Stories: Share your favorite scary story to grow the database.
- Improving the Code: Fix bugs, suggest new features, or optimize the project.
-
Find your scary story (recommended length: 2β10 minutes)
-
Prepare a text file (story_name.txt) and an audio file (story_name.mp3)
-
Create a new folder with the name of your story inside /public/stories/
/public/stories/
βββ story_name/
βββ story_name.txt
βββ story_name.mp3
- Update
/src/data/stories.json
in the following format:
[
{
// other stories...
},
{
"directory": "story_name",
"title": "Your story",
"textFile": "story_name.txt",
"audioFile": "story_name.mp3"
}
]
- Done! Your story will be randomly selected and shared with everyone.
If you're looking to convert your story to
.mp3
, you can use this awesome free tool: https://www.tetyys.com/SAPI4/
If you want to add a new feature or simply report a bug, feel free to create an issue.
The website is built with NextJS (App Router).