This is a Next.js project bootstrapped with create-next-app
.
To add a new subreddit or links for an existing one, edit ./data/subreddits.json
and add a new object
to the subs
array. The object should have the following properties:
{
"name": "r/<sub name>",
"links": [{ "service": "<discord | lemmy | kbin>", "url": "<url>", "official": true | false }]
},
sub.rehab is developed using:
You'll need Node.js version 18 and yarn installed.
Install dependencies:
yarn install
Then, run the development server:
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.