akf-forum/README.md

63 lines
2.3 KiB
Markdown
Raw Normal View History

2022-03-13 16:16:46 +03:00
# akf-forum
A Node.js based forum software.
2022-03-13 16:16:46 +03:00
## Installation
2022-05-01 17:10:44 +03:00
- Clone or download this repo.
- Run `npm i` to install **dependencies**.
2022-09-17 19:33:51 +03:00
- Enter your database credentials in `.env`.
- Run `npm start` for run it.
2022-05-01 17:10:44 +03:00
### Extra
2022-09-17 15:19:41 +03:00
Run `node util/reset` to **reset the database** for duplicate key errors, and run `node util/admin` for give admin perms to first member.
2022-09-17 19:33:51 +03:00
Edit `config.json` for default themes (`black` or `default`) of users, and forum name, meta description, character limits, discord auth enabler, global ratelimit.
### DISCORD AUTH:
`discord_auth: true` in config.json.
Enter application id to `.env`.
Create a redirect url in discord developer portal:
`https://forum_url.com/discord_auth/hash`
2022-03-13 16:16:46 +03:00
## API
Akf-forum has got an API for AJAX (fetch), other clients etc. And, you can learn about API in `APIDOCS.md`.
2022-09-09 21:40:02 +03:00
**And you can use [offical API wrapper](https://github.com/Akif9748/akf-forum-api).**
2022-03-13 16:16:46 +03:00
## Credits
2022-08-26 16:27:29 +03:00
* [Akif9748](https://github.com/Akif9748) - Project mainteiner, main developer, made **old** frontend
2022-08-26 16:37:26 +03:00
* [Tokmak](https://github.com/tokmak0) - Made **new** frontend
2022-08-26 16:27:29 +03:00
* [Camroku](https://github.com/Camroku) - Made **old** stylesheets
## Screenshot
2022-09-01 14:15:48 +03:00
### Thread Page w/Black Theme
![black-theme](https://user-images.githubusercontent.com/70021050/187899782-2ff010aa-0d39-4fc2-b00c-19bcf1623c8a.png)
### Threads Page w/Default Theme
![light-theme](https://user-images.githubusercontent.com/70021050/186941146-f9a8fbf8-9b2b-4028-afc8-81cff559d9fb.png)
<details>
<summary><b>Mobile view</b></summary>
<img src="https://user-images.githubusercontent.com/70021050/187901065-fd75ef85-56e3-42ce-8b34-cb8d799a6517.png"></img>
</details>
2022-03-13 16:16:46 +03:00
2022-09-01 16:23:46 +03:00
## TO-DO list
2022-09-17 16:56:19 +03:00
| To do | Is done? |
| ----- | -------- |
2022-09-21 23:06:14 +03:00
| Profile Message or DM | ⚪ |
2022-09-21 22:42:08 +03:00
| Better Auth for API way | 🟢 |
2022-09-17 16:56:19 +03:00
| mod role, permissions | ⚪ |
| upload other photos, model for it | ⚪ |
2022-09-17 19:33:51 +03:00
| categories page is need a update, thread count in category | ⚪ |
2022-09-21 22:42:08 +03:00
| preview for send messages in markdown format | 🟢 |
2022-09-17 19:33:51 +03:00
| DC auth will store code for taking tokens, and create secret model setting | ⚪ |
2022-09-21 22:42:08 +03:00
- IF a person liked a message, view.
- Disable last seen button.
2022-09-21 23:06:14 +03:00
- email auth.
- thread.state =="approval" for threads.
- old contents / titles add to forum interface
2022-09-21 23:54:48 +03:00
- limits
## Major Version History
2022-08-31 14:44:28 +03:00
- V4: Caching
- V3: New Theme
- V2: Backend fix, mongoose is fixed. Really big fix.
- V1: Mongoose added.
2022-08-30 03:08:09 +03:00
- V0: Birth with quick.db