Move the FAQ to a separate file

This commit is contained in:
Mylloon 2022-06-23 17:16:03 +02:00
parent 510ca35c87
commit e125630410
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 23 additions and 8 deletions

13
FAQ.md Normal file
View file

@ -0,0 +1,13 @@
# [Constnium](https://git.kennel.ml/Anri/Constnium)
Calculate your own constant based on your first name.
## What does it do?
Simply take each letter of your first name, associate a constant with it, and multiply the constants together.
## How do you know all these constants?
Me? So... [Wikipedia](https://en.wikipedia.org/wiki/List_of_mathematical_constants) gave me some answers...
## This is a real constant...?
To ensure that the constant in your first name is unique,
each letter is set to the power relative to the position of the letter in your first name.

View file

@ -2,12 +2,14 @@
Calculate your own constant based on your first name.
## What does it do?
Simply take each letter of your first name, associate a constant with it, and multiply the constants together.
## FAQ
There is a [FAQ here](./FAQ.md) if you want to know more about the project.
## How do you know all these constants?
Me? So... [Wikipedia](https://en.wikipedia.org/wiki/List_of_mathematical_constants) gave me some answers...
## Public demo
[Coming Soon™](#)
## This is a real constant...?
To ensure that the constant in your first name is unique,
each letter is set to the power relative to the position of the letter in your first name.
## Host it yourself
Clone the repo and run `npm run main`.
### Docker
[Coming Soon™](#)

View file

@ -1,7 +1,7 @@
const fetch = require('node-fetch');
// URL of the repo
const repoURL = 'https://git.kennel.ml/api/v1/repos/Anri/Constnium/contents/README.md';
const repoURL = 'https://git.kennel.ml/api/v1/repos/Anri/Constnium/contents/FAQ.md';
// Store the data from the repo
let data = null;