*If you hate frontend frameworks like react and svelte as much as I do, this project is for you.*
## Introducing Notepress
#### A vanilla javascript/html blog reader for your long form nostr notes.
It only does the very basics: it pulls notes from your relays and displays them in a simple, readable format.
You can view a live demo at https://utxo.one
### Index View with Images and Summaries:

### Index View with without images and summaries

## Contributing
Pull requests are very strongy encouraged and appreciated :) The code is available on github under an MIT licence, do whatever you wish!
https://github.com/utxo-one/notepress
## Installation
1. Clone the repository
```bash
git clone https://github.com/utxo-one/notepress
cd notepress
```
2. Install the dependencies
```bash
npm install
```
3. Configure the blog
Edit the `config.js` file to your liking.
```bash
cp config.example.js config.js
nano config.js
```
```javascript
export const relays = [
"wss://relay.utxo.one",
"wss://relay.bitcoinpark.com",
"wss://relay.damus.io",
"wss://nos.lol",
];
export const npub =
"npub1utx00neqgqln72j22kej3ux7803c2k986henvvha4thuwfkper4s7r50e8";
export const hexkey =
"e2ccf7cf20403f3f2a4a55b328f0de3be38558a7d5f33632fdaaefc726c1c8eb";
export const excludeNotes = [
"b2381de6b86e6e90971316e5866d4e7d9659ba44985f7b9bff0c449e25f9d566",
];
```
4. Bundle the code
```bash
npx vite build
```
5. Deploy to your server
```bash
cp -r dist/* /var/www/notepress