mirror of
https://github.com/kemko/blogfeeds.net.git
synced 2026-01-01 16:05:41 +03:00
chore: updated readme and small styles
This commit is contained in:
66
README.md
66
README.md
@@ -1,67 +1,5 @@
|
||||
# Norns
|
||||
# Blogfeeds.net
|
||||
|
||||

|
||||
|
||||
Interoperable web components for decentralized applications
|
||||
|
||||
## Overview and Reasoning
|
||||
|
||||
Some of the first crypto apps we build were in React, and it's possible we might be able to resurrect some of them if we tried. However the unfortunate reality is that web dev frameworks accelerate at an alarming rate, and that goes for blockchain related libraries as well (shudders at the memory of viem v1 -> v2 and ethers v5 -> v6). It doesn't have to be like that though.
|
||||
|
||||
Web components are independant pieces of Javascript that can be imported to plain HTML but also frameworks as well. They're atomic, existing on their own and able to out-last any framework as long as we keep using Javscript (unfortunately I think that is the case). Some notable existing web component libraries include [Material Web](https://github.com/material-components/material-web) and [Web Awesome](https://github.com/shoelace-style/webawesome).
|
||||
|
||||
The goal of Norns is to provide the Ethereum ecosystem a set of simple yet powerful web components for building decentralized applications. The advantage we have today is that we've experienced good DX from modern frameworks, so we have the ability to build components that feel familiar to devs building UIs for smart contracts. We will start small but slowly grow the offering as we get a better feel for what devs need; check out the [Roadmap](#roadmap) for more information.
|
||||
|
||||
## Local Development Setup
|
||||
|
||||
1. Clone and install dependencies with [Bun](https://bun.sh)
|
||||
|
||||
```bash
|
||||
git clone https://github.com/stevedylandev/norns
|
||||
cd norns
|
||||
bun install
|
||||
```
|
||||
|
||||
2. Run the dev server
|
||||
|
||||
```bash
|
||||
bun dev
|
||||
```
|
||||
|
||||
This will run a simple server for `site/index.html` which imports components from `src/component/`
|
||||
|
||||
3. Build
|
||||
|
||||
After editing components and testing them in the dev server you can run the `build` command to generate the CLI from `src/index.ts` that will create a `dist` folder. This enables users to run something like `npx norns-ui@latest init` to setup a project and add components, similar to shadcn/ui.
|
||||
|
||||
## Roadmap
|
||||
|
||||
Still figuring this out, suggestions and examples welcome!
|
||||
|
||||
**CLI**
|
||||
|
||||
- [x] Implement `norns.json` initialization
|
||||
- [x] Improve styles and UX of commands and help menus
|
||||
- [ ] Include utility files like types in initialization and `norns.json`
|
||||
|
||||
**Components**
|
||||
|
||||
- [x] Connect Wallet
|
||||
- [x] Contract Call
|
||||
- [ ] TX Toasts?
|
||||
- [ ] Contract State (similar to contract call but auto loads the state)
|
||||
- [ ] Framework compatability
|
||||
- [x] React
|
||||
- [ ] Svelte
|
||||
- [ ] Vue
|
||||
- [ ] General types through JSDoc?
|
||||
- [ ] Add tailwindcss class/className prop
|
||||
- [ ] Styles override if shadcn present?
|
||||
|
||||
## Contributing
|
||||
|
||||
Norns is still in early development but definitely open to contributions! Just open an issue to get the ball rolling :)
|
||||
|
||||
## Contact
|
||||
|
||||
Feel free to reach out to any of my [socials](https://stevedylan.dev/links) or [shoot me an email](mailto:contact@stevedylan.dev)
|
||||
Website for promoting the idea of Blog Feeds and providing resources
|
||||
|
||||
@@ -89,33 +89,23 @@
|
||||
|
||||
<p>Starting a blog is actually a lot simpler than what you're probably thinking. This doesn't have to be some well polished highly viewed monetization machine. It's just a simple website where you can casually talk about whatever you want to talk about! It can be long, short, a list of small things, or just a quote. It should be how you talk with other people in your own life, or how you communicate with the outside world. It should be you on a page. Here's a few places you can make a blog that are RSS enabled:</p>
|
||||
|
||||
<details class="w-full">
|
||||
<summary class="cursor-pointer text-lg font-semibold flex items-center">
|
||||
<svg class="w-4 h-4 mr-3 transform transition-transform duration-200" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
|
||||
</svg>
|
||||
Hosted Services
|
||||
</summary>
|
||||
<div class="mt-2 pl-7">
|
||||
<div class="w-full">
|
||||
<h3 class="text-lg font-semibold mb-2">Hosted Services</h3>
|
||||
<div class="mb-4">
|
||||
<p class="text-gray-700 mb-3">These are great if you are not quite a technical person and need everything to be simple and easy to use.</p>
|
||||
<div class="flex flex-wrap gap-2">
|
||||
<a href="https://bearblog.dev" target="_blank" class="bg-blue-100 hover:bg-blue-200 text-blue-800 px-3 py-1 rounded-full text-sm font-medium transition-colors">Bear Blog ⭐️</a>
|
||||
<a href="https://bearblog.dev" target="_blank" class="bg-blue-100 hover:bg-blue-200 text-blue-800 px-3 py-1 rounded-full text-sm font-medium transition-colors">Bear Blog</a>
|
||||
<a href="https://substack.com" target="_blank" class="bg-blue-100 hover:bg-blue-200 text-blue-800 px-3 py-1 rounded-full text-sm font-medium transition-colors">Substack</a>
|
||||
<a href="https://ghost.org" target="_blank" class="bg-blue-100 hover:bg-blue-200 text-blue-800 px-3 py-1 rounded-full text-sm font-medium transition-colors">Ghost</a>
|
||||
<a href="https://wordpress.com" target="_blank" class="bg-blue-100 hover:bg-blue-200 text-blue-800 px-3 py-1 rounded-full text-sm font-medium transition-colors">Wordpress</a>
|
||||
<a href="https://www.squarespace.com" target="_blank" class="bg-blue-100 hover:bg-blue-200 text-blue-800 px-3 py-1 rounded-full text-sm font-medium transition-colors">Squarespace</a>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
|
||||
<details class="w-full">
|
||||
<summary class="cursor-pointer text-lg font-semibold flex items-center">
|
||||
<svg class="w-4 h-4 mr-3 transform transition-transform duration-200" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"></path>
|
||||
</svg>
|
||||
Self Hosted Frameworks
|
||||
</summary>
|
||||
<div class="mt-2 pl-7">
|
||||
<div class="w-full">
|
||||
<h3 class="text-lg font-semibold mb-2">Self Hosted Frameworks</h3>
|
||||
<div class="mb-4">
|
||||
<p class="text-gray-700 mb-3">For the devs 🫡 Some of my favorite frameworks and tools for making a blog!</p>
|
||||
<div class="flex flex-wrap gap-2">
|
||||
<a href="https://astro.build" target="_blank" class="bg-green-100 hover:bg-green-200 text-green-800 px-3 py-1 rounded-full text-sm font-medium transition-colors">Astro</a>
|
||||
@@ -125,7 +115,7 @@
|
||||
<a href="https://jekyllrb.com" target="_blank" class="bg-green-100 hover:bg-green-200 text-green-800 px-3 py-1 rounded-full text-sm font-medium transition-colors">Jekyll</a>
|
||||
</div>
|
||||
</div>
|
||||
</details>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -230,15 +220,14 @@
|
||||
<!--<button id="backToStartBtn" class="underline font-medium transition-colors">
|
||||
Back to the beginning
|
||||
</button>-->
|
||||
<p class="text-gray-600 text-sm">Made by <a target="_blank" class="underline font-semibold" href="https://stevedylan.dev">Steve</a></p>
|
||||
<div>
|
||||
<a href="https://github.com/stevedylandev/blogfeeds.net" target="_blank" class="inline-flex items-center gap-2 text-gray-600 hover:text-gray-800 text-sm font-medium transition-colors">
|
||||
<svg class="w-4 h-4" fill="currentColor" viewBox="0 0 24 24">
|
||||
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
|
||||
</svg>
|
||||
Contribute
|
||||
</a>
|
||||
</div>
|
||||
<p class="text-gray-600 text-sm">Made by <a target="_blank" class="underline font-semibold" href="https://stevedylan.dev">Steve</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user