https://github.com/murat/fakepagex
Bu proje #ucbuyucuturnuvasi kapsaminda Felix Felicis takımının geliştirdiği bir projedir.
https://github.com/murat/fakepagex
elixir-lang markov-chain phoenix-framework ucbuyucuturnuvasi
Last synced: about 2 months ago
JSON representation
Bu proje #ucbuyucuturnuvasi kapsaminda Felix Felicis takımının geliştirdiği bir projedir.
- Host: GitHub
- URL: https://github.com/murat/fakepagex
- Owner: murat
- License: mit
- Created: 2021-12-12T09:00:33.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-12T18:54:27.000Z (over 3 years ago)
- Last Synced: 2025-01-10T04:50:04.089Z (3 months ago)
- Topics: elixir-lang, markov-chain, phoenix-framework, ucbuyucuturnuvasi
- Language: Elixir
- Homepage: https://ancient-brushlands-26359.herokuapp.com/
- Size: 79.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🖺 Fakepage
_Bu proje [#ucbuyucuturnuvasi](https://ucbuyucuturnuvasi.com/) kapsaminda `Felix Felicis` takımının geliştirdiği bir projedir._
Fakepage generates a new text from a given text source. It is built on [Markov Chain Model](https://en.wikipedia.org/wiki/Markov_chain). You may want to use it to make new, reorganized, meaningful articles, news, stories, etc.
Also, this project has a crawler for web articles.
P.S 1: The webpage on given URL needs to paragraphs `
` tags in `` objects.🚀 [**You can check on running demo here**](https://ancient-brushlands-26359.herokuapp.com/) 🚀
P.S 2: Heroku has some limitations like memory and procs count. So if the given text source is very long you would face internal server errors.
## 🔮 Screenshots

## 🚧 Installation
To start your Phoenix server:
* Install dependencies with `mix deps.get`
* Start Phoenix endpoint with `mix phx.server` or inside IEx with `iex -S mix phx.server`Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
## 🐳 Run via docker
```shell
docker build -t fakepage .
docker run --name fakepage -e SECRET_KEY_BASE=`mix phx.gen.secret` -p 4000:4000 fakepage:latest
```## 🔍 References
* [Markov chains in Elixir](https://neiro.io/2016-07-31-markov-chains-in-elixir.md.html)
* [Another markov chain implementation written in golang **by me**](https://github.com/murat/mark-go-v/blob/master/main.go)