Avatar
Hasn
32bec65e86d0d81035a972603726fdb065864226d98718e71e7daf26a7fb1f51
CoinExams founder ❤️ freedom.. "injustice anywhere is a threat to justice everywhere" 📍 Jakarta 🇮🇩

*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:

![image]()

### Index View with without images and summaries

![image]()

## 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

I love vanilla. ❤️

Using it of course. Holding only makes sense when it is used. If it is not used (accepted) it would be less valuable.

Check people I follow to find those of interest and check who they follow and so on.

They be holding something over him. Could be the pay dispute.

Waste of time and resources.

CSS is beautiful. I guess all the work arounds and complex (almost useless) frameworks surrounding it is what makes it seem hard. Use it in its vanilla form and you would love it.

Try using variables to make bulk and programmable changes without having to rely purely on JS.

Thanks for sharing this. I am actively looking for a solution to accept lightning in a new app I am building.

I want it to be the best and simplest todo list application so lightning would be crucial.

The app is already live and I am giving 1 year free subscriptions until I figure out lightning 😅 Google "DoListy" if you want to lock in the free one year sub before I add payments.