Giter Club home page Giter Club logo

le-chat-noir-generator's Introduction

Le Chat Noir Generator 🐱

Gerador de Páginas Estaticas para o Neocities.

Depedências

pip install neocities
pip install beautifulsoup4

Como usar

Para fazer upload no Neocities gere um API_KEY através do site https://neocities.org/api e crie um arquivo na pasta python/ chamado senha.py com o seguinte conteudo:

# python\senha.py
senha = "SUA_API_KEY_AKI"

Criando um post

Todo arquivo .txt dentro da pasta python\textos\pages será transformado em uma postagem e linkado no index.html.

Os arquivos .txt deve possuir a seguinte ordem:

Primeira Linha: O Titulo
Segunda Linha: A data
A proximas Linhas: O Corpo do post

Exemplo: python\textos\ola.txt

Olá Pessoal :)
08/06/2021
Este é um post exemplo,
Muito obrigado por ler.
Aproveite 

Editando o Menu

Para editar o menu modifique o arquivo python\textos\header.txt O arquivo header.txt deve seguir a ordem:

Primeira Linha: Titulo do Site
As proximas Linhas: label_do_link link

Exemplo: python\textos\header.txt

JMallone's Page
home https://jmallone.neocities.org/index.html
twitter https://twitter.com/jmallone2
github https://github.com/Jmallone
twitch https://www.twitch.tv/jmallone01

NOTA: entre a label_do_link e o link tem que haver um espaço.


Upload para o Site

Para fazer o upload das paginas geradas execute o arquivo python\main.py

python main.py

Características

Le chat noir possui suporte para algumas tags em Markdown, sendo elas:

Nome Comando
Italico *italico*
Negrito **Negrito**
Taxado ~~Taxado~~
Barra Vertical !---
> Tabulacao com > ¬ Tabulacao com >
Codigo Simples `Codigo Simples`
Bloco Codigo ```Bloco Codigo```
Imagem ![gatinho](https://neocities.org/img/heartcat.png)
Imagem Centralizada !c[gatinho](https://neocities.org/img/heartcat.png)
Imagem Centralizada e Redimensiona a imagem em 90% !c/90[gatinho](https://neocities.org/img/heartcat.png)
Link [google](https://www.google.com.br)
H1 # Texto aqui h1
H2 ## Texto aqui h2
H3 ### Texto aqui h3

Novas tags em breve!

Video Demo

video.mp4

le-chat-noir-generator's People

Contributors

jmallone avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.